Skip to content

Commit 1367b09

Browse files
committed
---
yaml --- r: 88862 b: refs/heads/snap-stage3 c: 3dc38b0 h: refs/heads/master v: v3
1 parent 0ef0cf2 commit 1367b09

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
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: deeca5d586bfaa4aa60246f671a8d611d38f6248
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 0dcdefcf7ee3c143fcaf3368bcfbef703ef54fed
4+
refs/heads/snap-stage3: 3dc38b0c51f8b98ea550b5a3842c87884f10fa8d
55
refs/heads/try: b160761e35efcd1207112b3b782c06633cf441a8
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/compiletest/runtest.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -757,8 +757,8 @@ fn make_lib_name(config: &config, auxfile: &Path, testfile: &Path) -> Path {
757757

758758
fn make_exe_name(config: &config, testfile: &Path) -> Path {
759759
let mut f = output_base_name(config, testfile);
760-
if !os::EXE_SUFFIX.is_empty() {
761-
match f.filename().map(|s| s + os::EXE_SUFFIX.as_bytes()) {
760+
if !os::consts::EXE_SUFFIX.is_empty() {
761+
match f.filename().map(|s| s + os::consts::EXE_SUFFIX.as_bytes()) {
762762
Some(v) => f.set_filename(v),
763763
None => ()
764764
}

branches/snap-stage3/src/librustpkg/path_util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ pub fn mk_output_path(what: OutputType, where: Target,
390390
Bench => "bench",
391391
_ => ""
392392
},
393-
os::EXE_SUFFIX))
393+
os::consts::EXE_SUFFIX))
394394
};
395395
if !output_path.is_absolute() {
396396
output_path = os::getcwd().join(&output_path);

branches/snap-stage3/src/libstd/os.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ use to_str;
4343
use unstable::finally::Finally;
4444
use sync::atomics::{AtomicInt, INIT_ATOMIC_INT, SeqCst};
4545

46-
pub use os::consts::*;
47-
4846
/// Delegates to the libc close() function, returning the same return value.
4947
pub fn close(fd: c_int) -> c_int {
5048
unsafe {
@@ -334,7 +332,7 @@ pub fn pipe() -> Pipe {
334332

335333
/// Returns the proper dll filename for the given basename of a file.
336334
pub fn dll_filename(base: &str) -> ~str {
337-
format!("{}{}{}", DLL_PREFIX, base, DLL_SUFFIX)
335+
format!("{}{}{}", consts::DLL_PREFIX, base, consts::DLL_SUFFIX)
338336
}
339337

340338
/// Optionally returns the filesystem path to the current executable which is

0 commit comments

Comments
 (0)