rust/src/libstd
bors 1491e04259 Auto merge of #39234 - segevfiner:fix-backtraces-on-windows-gnu, r=petrochenkov
Make backtraces work on Windows GNU targets again.

This is done by adding a function that can return a filename
to pass to backtrace_create_state. The filename is obtained in
a safe way by first getting the filename, locking the file so it can't
be moved, and then getting the filename again and making sure it's the same.

See: https://github.com/rust-lang/rust/pull/37359#issuecomment-260123399
Issue: #33985

Note though that this isn't that pretty...

I had to implement a `WideCharToMultiByte` wrapper function to convert to the ANSI code page. This will work better than only allowing ASCII provided that the ANSI code page is set to the user's local language, which is often the case.

Also, please make sure that I didn't break the Unix build.
2017-01-28 20:32:56 +00:00
..
collections Change to_owned to to_string in docs 2017-01-13 01:57:48 +01:00
ffi Add missing urls for OsStr and OsString 2017-01-22 11:40:49 +01:00
io libstd: mention ? operator instead of removing try! macro reference 2017-01-22 21:07:38 +05:30
net std: Stabilize APIs for the 1.16.0 release 2017-01-25 16:43:01 -08:00
os sparc64-linux support 2016-12-30 20:46:19 -05:00
prelude End stdlib module summaries with a full stop. 2016-03-04 17:37:11 -05:00
rand Implement fmt::Debug for all structures in libstd. 2016-12-18 14:55:14 -08:00
sync Add missing doc examples for Mutex 2017-01-10 20:58:17 +01:00
sys Auto merge of #39234 - segevfiner:fix-backtraces-on-windows-gnu, r=petrochenkov 2017-01-28 20:32:56 +00:00
sys_common Attempt at fixing dead code lints 2017-01-27 11:33:24 +02:00
thread Fix a few links in the docs 2017-01-27 18:08:51 +00:00
time std: Stabilize APIs for the 1.16.0 release 2017-01-25 16:43:01 -08:00
ascii.rs Add more references between lowercase/uppercase operations. 2017-01-22 08:49:24 -05:00
build.rs std: Compile libbacktrace with -fvisibility=hidden 2017-01-26 23:48:08 -08:00
Cargo.toml Expose a feature to force use of alloc_system, teach rustbuild 2017-01-16 03:06:45 +00:00
env.rs Fix a few links in the docs 2017-01-27 18:08:51 +00:00
error.rs Follow our own recommendations in the examples 2016-11-25 17:59:04 +01:00
f32.rs std: Flatten the num directory to reflect the module layout 2016-11-01 17:08:24 +00:00
f64.rs std: Flatten the num directory to reflect the module layout 2016-11-01 17:08:24 +00:00
fs.rs std: Stabilize APIs for the 1.16.0 release 2017-01-25 16:43:01 -08:00
lib.rs Expose a feature to force use of alloc_system, teach rustbuild 2017-01-16 03:06:45 +00:00
macros.rs Rollup merge of #38457 - frewsxcv:include, r=GuillaumeGomez 2017-01-19 11:56:00 +01:00
memchr.rs std: Move platform specific memchr code into sys 2016-10-01 19:33:02 +00:00
num.rs travis: Get an emscripten builder online 2017-01-19 13:54:19 -08:00
panic.rs Implement fmt::Debug for all structures in libstd. 2016-12-18 14:55:14 -08:00
panicking.rs Implement fmt::Debug for all structures in libstd. 2016-12-18 14:55:14 -08:00
path.rs Auto merge of #38935 - redox-os:fix_path_redox, r=brson 2017-01-14 11:03:25 +00:00
primitive_docs.rs Add missing urls for array docs 2017-01-24 21:16:41 +01:00
process.rs Auto merge of #38856 - zackw:process-envs, r=aturon 2017-01-25 20:24:02 +00:00
rt.rs Revert rt.rs 2016-12-22 16:19:05 -07:00
rtdeps.rs Add support for the Haiku operating system on x86 and x86_64 machines 2016-09-25 11:12:23 -05:00