- 12 11月, 2018 1 次提交
-
-
由 Alex Crichton 提交于
This commit cleans up allocator injection logic found in the compiler around selecting the global allocator. It turns out that now that jemalloc is gone the compiler never actually injects anything! This means that basically everything around loading crates here and there can be easily pruned. This also removes the `exe_allocation_crate` option from custom target specs as it's no longer used by the compiler anywhere.
-
- 11 11月, 2018 11 次提交
- 10 11月, 2018 7 次提交
-
-
由 Nikita Popov 提交于
This avoids trapping in the -Zsaturating-float-casts implementation.
-
由 Bruce Mitchener 提交于
-
由 Daniel Alley 提交于
-
由 Wesley Wiser 提交于
When I fixed the previous mis-optimizations, I didn't realize there were actually two different places where we mutate `callsites` and both of them should have the same behavior. As a result, if a function was inlined and that function contained virtual function calls, they were incorrectly being inlined. I also added a test case which covers this.
-
由 Alex Crichton 提交于
Hopefully a relatively routine update!
-
由 Esteban Küber 提交于
-
由 Oliver Scherer 提交于
-
- 09 11月, 2018 17 次提交
-
-
由 Nikita Popov 提交于
-
由 David Wood 提交于
This commit fixes an ICE and determines the correct return span in cases with a method implemented on a struct with an an elided lifetime.
-
由 Felix S. Klock II 提交于
-
由 Oliver Scherer 提交于
-
由 Nicholas Nethercote 提交于
This reduces the number of allocations in a "check clean" build of `tuple-stress` by 14%, reducing instruction counts by 0.6%.
-
由 Felix S. Klock II 提交于
(The commit prior to this actual passes our test suite, "thanks" to #55695. But since I am aware of that bug, I took advantage of it in choosing how to order my commit series...)
-
由 Felix S. Klock II 提交于
-
由 Esteban Küber 提交于
-
由 Felix S. Klock II 提交于
Make test robust to NLL, in sense of ensuring borrows extend to something approximating lexical scope.
-
由 Felix S. Klock II 提交于
Removed an unneeded instance of `// revisions`; the compare-mode NLL shows the output is identical now.
-
由 Stjepan Glavina 提交于
-
由 Oliver Scherer 提交于
-
由 Oliver Scherer 提交于
-
由 Murarth 提交于
* Rounds allocation layout up to a multiple of alignment * Adds a convenience method `Layout::pad_to_align` to perform rounding
-
由 Nikita Popov 提交于
-
由 Tim Neumann 提交于
of LLVM's Target Datalayout. https://llvm.org/docs/LangRef.html#data-layout
-
由 Nikita Popov 提交于
-
- 08 11月, 2018 4 次提交
-
-
由 Alex Crichton 提交于
Currently Cargo will always capture the output of rustc meaning that rustc is never hooked up to a tty. To retain colors Cargo uses the `fwdansi` crate to ensure that ansi color codes are translated to windows terminal methods (and ansi codes otherwise just go their natural route on Unix). Cargo passes `--color always` to rustc to ensure that using a pipe doesn't trick it into not emitting colors at all. It turns out, however, that `--color always` ends up still accidentally using the native shell api on native windows shells. The fix here is to instead pass `AlwaysAnsi` to `termcolor` instead of `Always`, ensuring that when `--color always` is passed to rustc and its output isn't a terminal, we're always generating ansi colors regardless of the platform. Closes #55769
-
由 Nikita Popov 提交于
-
由 Nikita Popov 提交于
These are only supported by the native wasm32 backend.
-
由 Oliver Scherer 提交于
-