Skip to content

Commit 4804ed5

Browse files
committed
---
yaml --- r: 96938 b: refs/heads/dist-snap c: 3dc38b0 h: refs/heads/master v: v3
1 parent 0ca04e9 commit 4804ed5

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
@@ -6,7 +6,7 @@ refs/heads/try: c274a6888410ce3e357e014568b43310ed787d36
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/dist-snap: 0dcdefcf7ee3c143fcaf3368bcfbef703ef54fed
9+
refs/heads/dist-snap: 3dc38b0c51f8b98ea550b5a3842c87884f10fa8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1212
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/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/dist-snap/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/dist-snap/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)