rust/src/libstd/sys/windows
bors 2db48d7fcb Auto merge of #44979 - hinaria:master, r=dtolnay
make `backtrace = false` compile for windows targets.

when building for windows with `backtrace = false`, `libstd` fails to compile because some modules that use items from `sys_common::backtrace::*` are still included, even though those modules aren't used or referenced by anything.

`sys_common::backtrace` doesn't exist when the backtrace feature is turned off.

--

i've also added `#[cfg(feature = "backtrace")]` to various items that exist exclusively to support `mod backtrace` since the compilation would fail since they would be unused in a configuration with backtraces turned off.
2017-10-04 00:57:30 +00:00
..
backtrace use field init shorthand EVERYWHERE 2017-08-15 15:29:17 -07:00
ext Rollup merge of #43814 - Eijebong:fix_typos2, r=petrochenkov 2017-08-13 11:03:11 +02:00
args.rs Better Debug for Args and ArgsOs 2017-06-21 15:40:45 +03:00
c.rs windows: make backtrace = false compile 2017-10-03 02:48:17 +11:00
compat.rs Use #[prelude_import] in libstd. 2016-08-24 22:12:48 +00:00
condvar.rs Use monotonic time with condition variables. 2016-07-31 12:47:52 +02:00
dynamic_lib.rs Use #[prelude_import] in libstd. 2016-08-24 22:12:48 +00:00
env.rs std: Move platform specific env code into sys 2016-10-01 19:32:59 +00:00
fast_thread_local.rs rustc: Enable #[thread_local] for Windows 2017-06-23 16:11:39 -07:00
fs.rs Made fs::copy return the length of the main stream 2017-09-27 19:43:05 -07:00
handle.rs Add Read::initializer. 2017-06-20 20:26:22 -07:00
memchr.rs std: Move platform specific memchr code into sys 2016-10-01 19:33:02 +00:00
mod.rs windows: make backtrace = false compile 2017-10-03 02:48:17 +11:00
mutex.rs Use #[prelude_import] in libstd. 2016-08-24 22:12:48 +00:00
net.rs Implement TcpStream::connect_timeout 2017-07-06 19:35:49 -07:00
os.rs Add test 2017-05-11 09:47:02 -07:00
os_str.rs Avoid allocations in Debug for os_str 2017-06-15 20:42:37 +01:00
path.rs std: Move platform specific path code into sys 2016-10-01 19:28:17 +00:00
pipe.rs use field init shorthand EVERYWHERE 2017-08-15 15:29:17 -07:00
process.rs Add conversions from File and Child* handles to Stdio 2017-06-06 15:42:55 -07:00
rand.rs rand: Fix filling buffers 4 GiB or larger with OsRng::fill_bytes on Windows 2016-02-25 01:35:41 +00:00
rwlock.rs Register new snapshots 2015-08-11 15:11:13 -07:00
stack_overflow.rs Fix warnings during tests 2016-01-26 09:29:28 -08:00
stdio.rs Add Read::initializer. 2017-06-20 20:26:22 -07:00
thread.rs Merge branch 'master' into threadname 2017-09-14 14:19:53 +01:00
thread_local.rs use field init shorthand EVERYWHERE 2017-08-15 15:29:17 -07:00
time.rs Properly detect overflow in Instance +/- Duration. 2017-09-07 17:14:27 +08:00