| Age | Commit message (Collapse) | Author | Lines |
|
|
|
|
|
editions.
|
|
This is a backport of #54301 to the beta branch
|
|
This pulls in https://github.com/rust-lang/cargo/pull/6054, and
is a beta backport of https://github.com/rust-lang/rust/pull/54334
|
|
|
|
|
|
rust-lang-nursery/rls#1054.
|
|
|
|
Should bring in some nice progress bars for compilations!
|
|
|
|
Bring in a few last-minute updates before the 1.30.0 release
|
|
feature-gate, on Rust 2018.
|
|
|
|
update clippy submodule
updates to cafef7b576203f166add9ed143979d9775c25219
|
|
tidy: Cleanups and clippy warning fixes
This eliminates various clippy warnings in the tidy tool, as well as
making some related cleanups. These changes should not introduce any
functional differences.
|
|
updates to cafef7b576203f166add9ed143979d9775c25219
|
|
Restore lldb build
commit 6c10142251 ("Update LLVM submodule") disabled the lldb build.
This patch updates the lldb and clang submodules to once again build
against the LLVM that is included in the Rust tree, and reverts the
.travis.yml changes from that patch.
|
|
|
|
|
|
commit 6c10142251 ("Update LLVM submodule") disabled the lldb build.
This patch updates the lldb and clang submodules to once again build
against the LLVM that is included in the Rust tree, and reverts the
.travis.yml changes from that patch.
|
|
|
|
This pulls the same version of rustc-ap-* libs as RLS does.
|
|
|
|
Enable ThinLTO with incremental compilation.
This is an updated version of #52309. This PR allows `rustc` to use (local) ThinLTO and incremental compilation at the same time. In theory this should allow for getting compile-time improvements for small changes while keeping the runtime performance of the generated code roughly the same as when compiling non-incrementally.
The difference to #52309 is that this version also caches the pre-LTO version of LLVM bitcode. This allows for another layer of caching:
1. if the module itself has changed, we have to re-codegen and re-optimize.
2. if the module itself has not changed, but a module it imported from during ThinLTO has, we don't need to re-codegen and don't need to re-run the first optimization phase. Only the second (i.e. ThinLTO-) optimization phase is re-run.
3. if neither the module itself nor any of its imports have changed then we can re-use the final, post-ThinLTO version of the module. (We might have to load its pre-ThinLTO version though so it's available for other modules to import from)
|
|
|
|
|
|
The match expression immediately below it checks the same condition.
|
|
|
|
Use `if let` to simplify a match, and use `contains_key` instead of
`get`.
|
|
This improves readability and eliminates a clippy warning.
|
|
|
|
This makes the code more readable, and eliminates a clippy warning.
|
|
Drop unnecessary .into_iter() (also fixing a clippy warning), and use
path functions to handle file extensions.
|
|
This also eliminates a clippy warning.
|
|
Dropping the redundant lifetimes also eliminates a clippy warning.
|
|
|
|
Also eliminates a clippy lint.
|
|
Eliminates a clippy warning.
Also drop the unnecessary `.peekable()`.
|
|
Use `.nth(n)` rather than `.skip(n).next()` (also fixes a clippy
warning), and use `.into()` and a type signature rather than
`PathBuf::from`.
|
|
Fixes a clippy warning, and improves readability.
|
|
Fixes the clippy "single_char_pattern" lint, and (marginally) improves
performance.
|
|
[RISCV] Use lld as the default linker; Enable C extension; Add riscv32imc-unknown-none-elf target
The riscv32imc-unknown-none-elf target is intended for soft cores.
The riscv32imc target is supported by the following popular soft cores:
picorv32: https://github.com/cliffordwolf/picorv32
vexriscv: https://github.com/SpinalHDL/VexRiscv
pulp riscy: https://github.com/pulp-platform/riscv
pulp zero-riscy: https://github.com/pulp-platform/zero-riscy
|
|
Backwards compatibility for tool/clippy lints
cc #44690
cc https://github.com/rust-lang-nursery/rust-clippy/pull/2977#issuecomment-409706557
This is the next step towards `tool_lints`.
This makes Clippy lints still work without scoping, but will warn and suggest the new scoped name. This warning will only appear if the code is checked with Clippy itself.
There is still an issue with using the old lint name in inner attributes. For inner attributes the warning gets emitted twice. I'm currently not really sure why this happens, but will try to fix this ASAP.
r? @Manishearth
|
|
Update LLVM submodule
This commit updates the LLVM submodule to the current trunk of LLVM itself. This
brings a few notable improvements for the wasm target:
* Support for wasm atomic instructions is greatly improved
* Renamed memory wasm intrinsics are fully supported
* LLD has fixed a quadratic execution bug with large numbers of relocations in
wasm files.
The compiler-rt submodule has been updated in tandem as well.
|
|
This commit updates the LLVM submodule to the current trunk of LLVM itself. This
brings a few notable improvements for the wasm target:
* Support for wasm atomic instructions is greatly improved
* Renamed memory wasm intrinsics are fully supported
* LLD has fixed a quadratic execution bug with large numbers of relocations in
wasm files.
The compiler-rt submodule has been updated in tandem as well.
|
|
|
|
|
|
|
|
|