- 26 9月, 2017 3 次提交
-
-
由 bors 提交于
Add suggestions for misspelled method names Use the syntax::util::lev_distance module to provide suggestions when a named method cannot be found. Part of #30197
-
由 bors 提交于
Require rlibs for dependent crates when linking static executables This handles the case for `CrateTypeExecutable` and `+crt_static`. I reworked the match block to avoid duplicating the `attempt_static` and error checking code again (this case would have been a copy of the `CrateTypeCdylib`/`CrateTypeStaticlib` case). On `linux-musl` targets where `std` was built with `crt_static = false` in `config.toml`, this change brings the test suite from entirely failing to mostly passing. This change should not affect behavior for other crate types, or for targets which do not respect `+crt_static`.
-
由 bors 提交于
Allow writing metadata without llvm # Todo: * [x] Rebase * [x] Fix eventual errors * [x] <strike>Find some crate to write elf files</strike> (will do it later) Cc #43842
-
- 25 9月, 2017 23 次提交
-
-
由 bors 提交于
encode region::Scope using fewer bytes Now that region::Scope is no longer interned, its size is more important. This PR encodes region::Scope in 8 bytes instead of 12, which should speed up region inference somewhat (perf testing needed) and should improve the margins on #36799 by 64MB (that's not a lot, I did this PR mostly to speed up region inference). This is a perf-sensitive PR. Please don't roll me up. r? @EddyB This is based on #44743 so I could get more accurate measurements on #36799.
-
由 Ariel Ben-Yehuda 提交于
-
由 bors 提交于
Compress most of spans to 32 bits As described in https://internals.rust-lang.org/t/rfc-compiler-refactoring-spans/1357/28 Closes https://github.com/rust-lang/rust/issues/15594 r? @michaelwoerister
-
由 bjorn3 提交于
-
由 bors 提交于
The Magenta kernel is now called Zircon.
-
由 James Tucker 提交于
* Adjust bootstrap to provide useful output on failure * Add missing package dependencies in the build environment * Fix permission bits on prebuilt toolchain files
-
由 James Tucker 提交于
-
由 James Tucker 提交于
-
由 Petr Hosek 提交于
This appears to be needed by the Rust build.
-
由 Petr Hosek 提交于
This toolchain is already used to build Zircon itself and is the official Clang toolchain used by all Fuchsia developers.
-
由 James Tucker 提交于
-
由 Petr Hosek 提交于
-
由 Petr Hosek 提交于
-
由 P.Y. Laligand 提交于
-
由 P.Y. Laligand 提交于
-
由 Petr Hosek 提交于
compiler-rt is now being built as part of the toolchain itself.
-
由 P.Y. Laligand 提交于
-
由 P.Y. Laligand 提交于
-
由 P.Y. Laligand 提交于
-
由 P.Y. Laligand 提交于
-
由 Thomas Jespersen 提交于
The convention for suggesting close matches is to provide at most one match (the closest one). Change the suggestions for misspelt method names to obey that.
-
- 24 9月, 2017 14 次提交
-
-
由 bors 提交于
typeck::check::coercion - roll back failed unsizing type vars This wraps unsizing coercions within an additional level of `commit_if_ok`, which rolls back type variables if the unsizing coercion fails. This prevents a large amount of type-variables from accumulating while type-checking a large function, e.g. shaving 2GB off one of the 4GB peaks in #36799. This is a performance-sensitive PR so please don't roll it up. r? @EddyB cc @nikomatsakis
-
由 Ariel Ben-Yehuda 提交于
Now that region::Scope is no longer interned, its size is more important. This PR encodes region::Scope in 8 bytes instead of 12, which should speed up region inference somewhat (perf testing needed) and should improve the margins on #36799 by 64MB (that's not a lot, I did this PR mostly to speed up region inference).
-
由 Ariel Ben-Yehuda 提交于
-
由 bors 提交于
Rollup of 4 pull requests - Successful merges: #44103, #44625, #44789, #44795 - Failed merges:
-
由 Guillaume Gomez 提交于
MIR borrowck: Add span labels for E0381 and E0505 Corresponds to `report_use_of_moved` and `report_move_out_when_borrowed`. Part of #44596.
-
由 Guillaume Gomez 提交于
Fix warning position in rustdoc code blocks Before: <img width="1440" alt="screen shot 2017-09-23 at 14 07 08" src="https://user-images.githubusercontent.com/3050060/30773382-b9649288-a06f-11e7-94ec-faa3c3ed999b.png"> After: <img width="1440" alt="screen shot 2017-09-23 at 14 58 31" src="https://user-images.githubusercontent.com/3050060/30773384-bdfc9f3e-a06f-11e7-9030-9fb8a5308668.png"> r? @QuietMisdreavus
-
由 Guillaume Gomez 提交于
Indicate how ChildStd{in,out,err} FDs are closed. Fixes https://github.com/rust-lang/rust/issues/41452.
-
由 Guillaume Gomez 提交于
add comparison operators to must-use lint (under `fn_must_use` feature) Although RFC 1940 is about annotating functions with `#[must_use]`, a key part of the motivation was linting unused equality operators. (See https://github.com/rust-lang/rfcs/pull/1812#issuecomment-265695898—it seems to have not been clear to discussants at the time that marking the comparison methods as `must_use` would not give us the lints on comparison operators, at least in (what the present author understood as) the most straightforward implementation, as landed in #43728 (3645b062).) To rectify the situation, we here lint unused comparison operators as part of the unused-must-use lint (feature gated by the `fn_must_use` feature flag, which now arguably becomes a slight (tolerable in the opinion of the present author) misnomer). This is in the matter of #43302. cc @crumblingstatue
-
由 Ariel Ben-Yehuda 提交于
this should produce more error stability
-
由 Ariel Ben-Yehuda 提交于
-
由 Ariel Ben-Yehuda 提交于
-
由 Ariel Ben-Yehuda 提交于
-
由 Ariel Ben-Yehuda 提交于
No functional changes intended.
-
由 Ariel Ben-Yehuda 提交于
-