diff options
| author | Michael Neumann <mneumann@ntecs.de> | 2014-07-31 02:01:16 +0200 |
|---|---|---|
| committer | Michael Neumann <mneumann@ntecs.de> | 2014-07-31 02:01:16 +0200 |
| commit | e99fc20f9595590597e09795de5bfa3d361517a9 (patch) | |
| tree | 6dbbc96c8344edb54463544953fde7b681c7100e | |
| parent | 2e2f53fad210543be39f6997991abcd403533676 (diff) | |
Fix trailing whitespace
| -rw-r--r-- | src/libstd/rt/backtrace.rs | 4 | ||||
| -rw-r--r-- | src/libsyntax/abi.rs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/rt/backtrace.rs b/src/libstd/rt/backtrace.rs index 00477f8e119..80493ebb4a9 100644 --- a/src/libstd/rt/backtrace.rs +++ b/src/libstd/rt/backtrace.rs @@ -465,13 +465,13 @@ mod imp { // be in "permanent memory", so we copy it to a static and then use the // static as the pointer. // - // FIXME: We also call self_exe_name() on DragonFly BSD. I haven't + // FIXME: We also call self_exe_name() on DragonFly BSD. I haven't // tested if this is required or not. unsafe fn init_state() -> *mut backtrace_state { static mut STATE: *mut backtrace_state = 0 as *mut backtrace_state; static mut LAST_FILENAME: [libc::c_char, ..256] = [0, ..256]; if !STATE.is_null() { return STATE } - let selfname = if cfg!(target_os = "freebsd") || + let selfname = if cfg!(target_os = "freebsd") || cfg!(target_os = "dragonfly") { os::self_exe_name() } else { diff --git a/src/libsyntax/abi.rs b/src/libsyntax/abi.rs index b0296710cfe..c50a5661973 100644 --- a/src/libsyntax/abi.rs +++ b/src/libsyntax/abi.rs @@ -11,7 +11,7 @@ use std::fmt; #[deriving(PartialEq)] -pub enum Os { OsWin32, OsMacos, OsLinux, OsAndroid, OsFreebsd, OsiOS, +pub enum Os { OsWin32, OsMacos, OsLinux, OsAndroid, OsFreebsd, OsiOS, OsDragonfly } #[deriving(PartialEq, Eq, Hash, Encodable, Decodable, Clone)] |
