Skip to content

Commit afa3b09

Browse files
---
yaml --- r: 233687 b: refs/heads/beta c: 8529d75 h: refs/heads/master i: 233685: 73cb6a8 233683: fc7d0b8 233679: 8cdf884 v: v3
1 parent 0986052 commit afa3b09

File tree

138 files changed

+1832
-2196
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

138 files changed

+1832
-2196
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ refs/tags/0.9: 36870b185fc5f5486636d4515f0e22677493f225
2323
refs/tags/0.10: ac33f2b15782272ae348dbd7b14b8257b2148b5a
2424
refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
2525
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
26-
refs/heads/beta: 19aadd51a89f8d6f706e1eabd746039a748fa9e6
26+
refs/heads/beta: 8529d75b81d20ebbf0d2d9d78a4b09bbe9d15932
2727
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
2828
refs/heads/tmp: 370fe2786109360f7c35b8ba552b83b773dd71d6
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f

branches/beta/configure

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,6 @@ valopt python "" "set path to python"
602602
valopt jemalloc-root "" "set directory where libjemalloc_pic.a is located"
603603
valopt build "${DEFAULT_BUILD}" "GNUs ./configure syntax LLVM build triple"
604604
valopt android-cross-path "/opt/ndk_standalone" "Android NDK standalone path (deprecated)"
605-
valopt i686-linux-android-ndk "" "i686-linux-android NDK standalone path"
606605
valopt arm-linux-androideabi-ndk "" "arm-linux-androideabi NDK standalone path"
607606
valopt aarch64-linux-android-ndk "" "aarch64-linux-android NDK standalone path"
608607
valopt release-channel "dev" "the name of the release channel to build"
@@ -1694,7 +1693,6 @@ putvar CFG_LIBDIR_RELATIVE
16941693
putvar CFG_DISABLE_MANAGE_SUBMODULES
16951694
putvar CFG_AARCH64_LINUX_ANDROID_NDK
16961695
putvar CFG_ARM_LINUX_ANDROIDEABI_NDK
1697-
putvar CFG_I686_LINUX_ANDROID_NDK
16981696
putvar CFG_MANDIR
16991697

17001698
# Avoid spurious warnings from clang by feeding it original source on

branches/beta/mk/cfg/i686-linux-android.mk

Lines changed: 0 additions & 25 deletions
This file was deleted.

branches/beta/src/liblibc/lib.rs

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -466,19 +466,18 @@ pub mod types {
466466
pub type off_t = i32;
467467
pub type dev_t = u32;
468468
pub type ino_t = u32;
469-
470469
pub type pid_t = i32;
471470
pub type uid_t = u32;
472471
pub type gid_t = u32;
473472
pub type useconds_t = u32;
474-
475473
pub type mode_t = u16;
476474
pub type ssize_t = i32;
477475
}
478-
#[cfg(any(all(any(target_arch = "arm", target_arch = "x86"),
479-
not(target_os = "android")),
476+
#[cfg(any(target_arch = "x86",
480477
target_arch = "le32",
481-
target_arch = "powerpc"))]
478+
target_arch = "powerpc",
479+
all(any(target_arch = "arm", target_arch = "x86"),
480+
not(target_os = "android"))))]
482481
pub mod posix01 {
483482
use types::os::arch::c95::{c_short, c_long, time_t};
484483
use types::os::arch::posix88::{dev_t, gid_t, ino_t};
@@ -524,13 +523,12 @@ pub mod types {
524523
pub __size: [u32; 9]
525524
}
526525
}
527-
528526
#[cfg(all(any(target_arch = "arm", target_arch = "x86"),
529-
target_os = "android"))]
527+
target_os = "android"))]
530528
pub mod posix01 {
531-
use types::os::arch::c95::{c_uchar, c_uint, c_ulong, c_long, time_t};
529+
use types::os::arch::c95::{c_uchar, c_uint, c_ulong, time_t};
532530
use types::os::arch::c99::{c_longlong, c_ulonglong};
533-
use types::os::arch::posix88::{uid_t, gid_t};
531+
use types::os::arch::posix88::{uid_t, gid_t, ino_t};
534532

535533
pub type nlink_t = u16;
536534
pub type blksize_t = u32;
@@ -540,15 +538,15 @@ pub mod types {
540538
#[derive(Copy, Clone)] pub struct stat {
541539
pub st_dev: c_ulonglong,
542540
pub __pad0: [c_uchar; 4],
543-
pub __st_ino: c_long,
541+
pub __st_ino: ino_t,
544542
pub st_mode: c_uint,
545543
pub st_nlink: c_uint,
546544
pub st_uid: uid_t,
547545
pub st_gid: gid_t,
548546
pub st_rdev: c_ulonglong,
549547
pub __pad3: [c_uchar; 4],
550548
pub st_size: c_longlong,
551-
pub st_blksize: c_ulong,
549+
pub st_blksize: blksize_t,
552550
pub st_blocks: c_ulonglong,
553551
pub st_atime: time_t,
554552
pub st_atime_nsec: c_ulong,
@@ -570,7 +568,6 @@ pub mod types {
570568
pub __size: [u32; 9]
571569
}
572570
}
573-
574571
#[cfg(any(target_arch = "mips",
575572
target_arch = "mipsel"))]
576573
pub mod posix01 {

branches/beta/src/librustc/ast_map/blocks.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ impl<'a> FnLikeNode<'a> {
191191
visit::FkItemFn(p.ident, p.generics, p.unsafety, p.constness, p.abi, p.vis)
192192
};
193193
let closure = |_: ClosureParts| {
194-
visit::FkClosure
194+
visit::FkFnBlock
195195
};
196196
let method = |_, ident, sig: &'a ast::MethodSig, vis, _, _| {
197197
visit::FkMethod(ident, sig, vis)

branches/beta/src/librustc/ast_map/mod.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ use self::MapEntry::*;
1414

1515
use metadata::inline::InlinedItem;
1616
use metadata::inline::InlinedItem as II;
17-
use middle::def_id::DefId;
1817
use syntax::abi;
1918
use syntax::ast::*;
2019
use syntax::ast_util;
@@ -379,7 +378,7 @@ impl<'ast> Map<'ast> {
379378
match self.find_entry(parent) {
380379
Some(RootInlinedParent(&InlinedParent {ii: II::TraitItem(did, _), ..})) => did,
381380
Some(RootInlinedParent(&InlinedParent {ii: II::ImplItem(did, _), ..})) => did,
382-
_ => DefId::local(parent)
381+
_ => ast_util::local_def(parent)
383382
}
384383
}
385384

@@ -592,7 +591,7 @@ impl<'ast> Map<'ast> {
592591
}
593592

594593
pub fn def_id_span(&self, def_id: DefId, fallback: Span) -> Span {
595-
if def_id.is_local() {
594+
if def_id.krate == LOCAL_CRATE {
596595
self.opt_span(def_id.node).unwrap_or(fallback)
597596
} else {
598597
fallback

branches/beta/src/librustc/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ pub mod middle {
118118
pub mod dataflow;
119119
pub mod dead;
120120
pub mod def;
121-
pub mod def_id;
122121
pub mod dependency_format;
123122
pub mod effect;
124123
pub mod entry;

0 commit comments

Comments
 (0)