Skip to content

Commit d8e57f1

Browse files
committed
---
yaml --- r: 228253 b: refs/heads/try c: 64db3aa h: refs/heads/master i: 228251: 654ecb6 v: v3
1 parent 827162f commit d8e57f1

File tree

23 files changed

+875
-577
lines changed

23 files changed

+875
-577
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: aca2057ed5fb7af3f8905b2bc01f72fa001c35c8
33
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
4-
refs/heads/try: 72750c7c6ec3678158473f07e98fa72f5115a3dc
4+
refs/heads/try: 64db3aac0fe291df506ccbb6568b90fa82969fd9
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
77
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try/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/try/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/try/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/try/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)