Skip to content

Commit e7e6ac2

Browse files
committed
---
yaml --- r: 220013 b: refs/heads/snap-stage3 c: 96e64ec h: refs/heads/master i: 220011: 011cbdd v: v3
1 parent 12bf96c commit e7e6ac2

File tree

25 files changed

+1100
-612
lines changed

25 files changed

+1100
-612
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: c044791d80ea0dc5c4b57b6030a67b69f8510239
3-
refs/heads/snap-stage3: 18201d7db1be6af9a17050a9ccb28125cd01364b
3+
refs/heads/snap-stage3: 96e64ec98708407d2c29347439d9aae597157c8e
44
refs/heads/try: b53c0f93eedcdedd4fd89bccc5a3a09d1c5cd23e
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/snap-stage3/mk/rustllvm.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ LLVM_EXTRA_INCDIRS_$(1)= $$(call CFG_CC_INCLUDE_$(1),$(S)src/llvm/include) \
2424
endif
2525

2626
RUSTLLVM_OBJS_CS_$(1) := $$(addprefix rustllvm/, \
27-
ExecutionEngineWrapper.cpp RustWrapper.cpp PassWrapper.cpp)
27+
ExecutionEngineWrapper.cpp RustWrapper.cpp PassWrapper.cpp \
28+
ArchiveWrapper.cpp)
2829

2930
RUSTLLVM_INCS_$(1) = $$(LLVM_EXTRA_INCDIRS_$(1)) \
3031
$$(call CFG_CC_INCLUDE_$(1),$$(LLVM_INCDIR_$(1))) \

branches/snap-stage3/src/liblibc/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4978,6 +4978,8 @@ pub mod consts {
49784978
pub const F_GETFL : c_int = 3;
49794979
pub const F_SETFL : c_int = 4;
49804980

4981+
pub const O_ACCMODE : c_int = 3;
4982+
49814983
pub const SIGTRAP : c_int = 5;
49824984
pub const SIG_IGN: size_t = 1;
49834985

@@ -5130,6 +5132,7 @@ pub mod consts {
51305132
pub const O_DSYNC : c_int = 4194304;
51315133
pub const O_SYNC : c_int = 128;
51325134
pub const O_NONBLOCK : c_int = 4;
5135+
pub const F_GETPATH : c_int = 50;
51335136
pub const F_FULLFSYNC : c_int = 51;
51345137

51355138
pub const MAP_COPY : c_int = 0x0002;
@@ -5151,6 +5154,8 @@ pub mod consts {
51515154
pub const SO_DONTTRUNC: c_int = 0x2000;
51525155
pub const SO_WANTMORE: c_int = 0x4000;
51535156
pub const SO_WANTOOBFLAG: c_int = 0x8000;
5157+
5158+
pub const PATH_MAX: c_int = 1024;
51545159
}
51555160
pub mod sysconf {
51565161
use types::os::arch::c95::c_int;

branches/snap-stage3/src/librustc/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ pub mod diagnostics;
9999

100100
pub mod back {
101101
pub use rustc_back::abi;
102-
pub use rustc_back::archive;
103102
pub use rustc_back::arm;
104103
pub use rustc_back::mips;
105104
pub use rustc_back::mipsel;

branches/snap-stage3/src/librustc/metadata/loader.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@
212212
//! no means all of the necessary details. Take a look at the rest of
213213
//! metadata::loader or metadata::creader for all the juicy details!
214214
215-
use back::archive::METADATA_FILENAME;
216215
use back::svh::Svh;
217216
use session::Session;
218217
use session::search_paths::PathKind;
@@ -280,6 +279,8 @@ pub struct CratePaths {
280279
pub rlib: Option<PathBuf>
281280
}
282281

282+
pub const METADATA_FILENAME: &'static str = "rust.metadata.bin";
283+
283284
impl CratePaths {
284285
fn paths(&self) -> Vec<PathBuf> {
285286
match (&self.dylib, &self.rlib) {

0 commit comments

Comments
 (0)