Skip to content

Commit 6331423

Browse files
committed
---
yaml --- r: 223743 b: refs/heads/beta c: 96e64ec h: refs/heads/master i: 223741: 19dfd17 223739: fc57441 223735: 74a1f90 223727: d20663e 223711: bcdf8ad 223679: 509183a 223615: fc9dac4 223487: dfbbaf6 223231: 66187ed v: v3
1 parent b4b65b6 commit 6331423

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
@@ -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: 18201d7db1be6af9a17050a9ccb28125cd01364b
26+
refs/heads/beta: 96e64ec98708407d2c29347439d9aae597157c8e
2727
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
2828
refs/heads/tmp: 938f5d7af401e2d8238522fed4a612943b6e77fd
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f

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