- 29 5月, 2014 20 次提交
-
-
由 Michael Woerister 提交于
So far the DWARF information for enums was different for regular enums, univariant enums, Option-like enums, etc. Regular enums were encoded as unions of structs, while the other variants were encoded as bare structs. With the changes in this PR all enums are encoded as unions so that debuggers can reconstruct if something originally was a struct, a univariant enum, or an Option-like enum. For the latter case, information about the Null variant is encoded into the union field name. This information can then be used by the debugger to print a None value actually as None instead of Some(0x0).
-
由 Michael Woerister 提交于
Conflicts: src/librustc/middle/trans/debuginfo.rs
-
由 bors 提交于
* Removes `format_strbuf!()`
-
由 bors 提交于
This used to be clang only but accidentally became the default for everyone.
-
由 bors 提交于
rustc: clarify warning about native deps for a staticlib. This adjusts the "unlinked native library" warning one receives when compiling with `crate_type="staticlib"`. The warning is just trying to tell the user that they need to link against these libraries, but the old text wasn't making this obvious, the new text says this explicitly.
-
由 bors 提交于
When spawning a process, stdio file descriptors can be configured to be ignored, which basically means that they'll be closed. Currently this is done by literally closing the file descriptors in the child, but this can have adverse side effects if the child process then opens a new file descriptor, assigning it to a stdio number. To work around the problems of the child, this commit alters the process spawning code to map stdio fds to /dev/null on unix (and a similar equivalent on windows) when they are specified as being ignored. This should allow spawned programs to have more expected behavior when opening new files. Closes #14456
-
由 bors 提交于
This avoids having to perform conversions from `*u8` to `&'static str` which can suck in a good deal of code. Closes #14442
-
由 Luqman Aden 提交于
-
由 bors 提交于
We were still generating compiler docs even with --disable-docs passed. cc @pnkfelix
-
由 bors 提交于
-
由 bors 提交于
First commit is an unrelated fix for a test suite warning I introduced last week.
-
由 Keegan McAllister 提交于
-
由 Keegan McAllister 提交于
Fixes #6830.
-
由 Keegan McAllister 提交于
-
由 Keegan McAllister 提交于
-
由 Keegan McAllister 提交于
-
由 Keegan McAllister 提交于
-
由 bors 提交于
This is an attempt of fixing #12925. This PR moves almost all trait implementations for primitive types ((), bool, char, i*, u*, f*) near trait definitions. Only Float trait implementations weren't moved because they heavily rely on constants defined in f32.rs and f64.rs. Some trait implementations had cfg(not(test)) attribute. I suspect it's because of issue 2912. Still, someone who knows the problem better should probably check this code. Closes #12925
-
由 bors 提交于
This was required to get ./configure to work on my armv7 test machine. I haven't found anything sane to feature gate `hf` on that's pokable from the context of the configure script. It also seems that gcc doesn't work on armv7 by default (rust wants to pass it `-m32` which isn't supported), would it be preferential to make the default `--enable-clang` on arm, or remove the `-m32` flag on that platform?
-
由 bors 提交于
According to Rust's style guide acronyms should be CamelCase.
-
- 28 5月, 2014 20 次提交
-
-
由 Alex Crichton 提交于
This was only ever a transitionary macro.
-
由 Piotr Jawniak 提交于
Closes #12925
-
由 bors 提交于
The deprecation warning text for mem::move_val_init was incorrect. It should point users to `overwrite` instead of itself.
-
由 bors 提交于
Previously this was adding one-too-many `..`s to the path for the `gotosrc=...` links for local crates. Also, the `root_path` already ends in `/`s so a trailing / shouldn't be added after the root (some servers treat `...//...` different to `.../...` including the one running doc.rust-lang.org).
-
由 Huon Wilson 提交于
Previously this was adding one-too-many `..`s to the path for the `gotosrc=...` links for local crates. Also, the `root_path` already ends in `/`s so a trailing / shouldn't be added after the root (some servers treat `...//...` different to `.../...` including the one running doc.rust-lang.org).
-
由 bors 提交于
-
由 bors 提交于
Because IPv4 address conversion doesn't consider big-endian target, I add functions to handle that. These function names may need to be changed, but I can't come up with a good one.
-
由 Piotr Jawniak 提交于
According to Rust's style guide acronyms should be CamelCase. [breaking-change]
-
由 bors 提交于
-
由 Richo Healey 提交于
-
由 Richo Healey 提交于
-
由 Richo Healey 提交于
-
由 bors 提交于
This commit alters rustdoc to keep a hash set of known inlined items which is a whitelist for generating URLs to. Closes #14438
-
由 bors 提交于
This commit moves reflection (as well as the {:?} format modifier) to a new libdebug crate, all of which is marked experimental. This is a breaking change because it now requires the debug crate to be explicitly linked if the :? format qualifier is used. This means that any code using this feature will have to add `extern crate debug;` to the top of the crate. Any code relying on reflection will also need to do this. Closes #12019 [breaking-change]
-
由 Alex Crichton 提交于
This commit moves reflection (as well as the {:?} format modifier) to a new libdebug crate, all of which is marked experimental. This is a breaking change because it now requires the debug crate to be explicitly linked if the :? format qualifier is used. This means that any code using this feature will have to add `extern crate debug;` to the top of the crate. Any code relying on reflection will also need to do this. Closes #12019 [breaking-change]
-
由 Alex Crichton 提交于
This commit alters rustdoc to keep a hash set of known inlined items which is a whitelist for generating URLs to. Closes #14438
-
由 bors 提交于
My main goals were: - be clear when we talk about "references" and "pointers" - remove Managed boxes completely and the concept of GC. https://github.com/mozilla/rust/issues/13987
-
由 Alex Crichton 提交于
When spawning a process, stdio file descriptors can be configured to be ignored, which basically means that they'll be closed. Currently this is done by literally closing the file descriptors in the child, but this can have adverse side effects if the child process then opens a new file descriptor, assigning it to a stdio number. To work around the problems of the child, this commit alters the process spawning code to map stdio fds to /dev/null on unix (and a similar equivalent on windows) when they are specified as being ignored. This should allow spawned programs to have more expected behavior when opening new files. Closes #14456
-
由 bors 提交于
This should block on #14323
-
由 Luqman Aden 提交于
-