diff options
| author | Ralf Jung <post@ralfj.de> | 2019-12-02 09:34:15 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-02 09:34:15 +0100 |
| commit | 910e83eab2f65dd922f8d980c71840a68b3d7c6a (patch) | |
| tree | 8631bfc4d4f6746bdc573f206f8f5edf4bbdfc74 /src/test/codegen/src-hash-algorithm | |
| parent | 313436807b7db2d6f31cf5b33fa556260eabda15 (diff) | |
| parent | 0533249fd7950a34a8046956c5bb1737e620198f (diff) | |
| download | rust-910e83eab2f65dd922f8d980c71840a68b3d7c6a.tar.gz rust-910e83eab2f65dd922f8d980c71840a68b3d7c6a.zip | |
Rollup merge of #66834 - infinity0:master, r=Mark-Simulacrum
rustbuild fixes
When upgrading Debian's rustc to 1.38 I needed these patches:
(1) In order to cross-compile rustc 1.38 and take it through the full rustbuild process including install, I needed the first patch.
(2) In order to build rustc 1.38 using rustc 1.38 itself I need to set --cap-lints warn, otherwise I get this error:
~~~~
error: unnecessary `unsafe` block
--> src/bootstrap/builder.rs:148:19
|
148 | name: unsafe { ::std::intrinsics::type_name::<S>() },
| ^^^^^^ unnecessary `unsafe` block
|
note: lint level defined here
--> src/bootstrap/lib.rs:107:9
|
107 | #![deny(warnings, rust_2018_idioms, unused_lifetimes)]
| ^^^^^^^^
= note: `#[deny(unused_unsafe)]` implied by `#[deny(warnings)]`
error: aborting due to previous error
error: could not compile `bootstrap`.
~~~~
In order to set --cap-lints warn however, I need bootstrap.py not to clobber RUSTFLAGS. (This worked previously, not sure if it was broken intentionally but we would like support for it.)
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
