diff options
| author | Jubilee <46493976+workingjubilee@users.noreply.github.com> | 2024-03-25 14:35:35 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-25 14:35:35 -0700 |
| commit | 01263c45d026620934a32ed292f161f199cfafb9 (patch) | |
| tree | 3943ff76c215e72eae7010c0b54225906f787eb7 /compiler/rustc_codegen_llvm/src | |
| parent | 2f8c9bd6517f65b6fa8c47aecc95c860848142c4 (diff) | |
| parent | 25d06013db110db4ef4af46e9fded81b8adc03d6 (diff) | |
| download | rust-01263c45d026620934a32ed292f161f199cfafb9.tar.gz rust-01263c45d026620934a32ed292f161f199cfafb9.zip | |
Rollup merge of #122892 - lovesegfault:versioned-vendor, r=onur-ozkan
fix(bootstrap/dist): use versioned dirs when vendoring Currently, if you attempt to run ui tests in a vendored build, you will see this failure ``` ---- [ui] tests/ui/issues/issue-21763.rs stdout ---- diff of stderr: 8 = note: required because it appears within the type `(Rc<()>, Rc<()>)` 9 = note: required for `hashbrown::raw::RawTable<(Rc<()>, Rc<()>)>` to implement `Send` 10 note: required because it appears within the type `hashbrown::map::HashMap<Rc<()>, Rc<()>, RandomState>` - --> $HASHBROWN_SRC_LOCATION + --> /rust/deps/hashbrown/src/map.rs:190:12 12 note: required because it appears within the type `HashMap<Rc<()>, Rc<()>>` 13 --> $SRC_DIR/std/src/collections/hash/map.rs:LL:COL 14 note: required by a bound in `foo` ``` This happens because the code that attempts to remap `HASHBROWN_SRC_LOCATION` expects it to be under `hashbrown-$version`, which is the case in a normal cargo registry, but not when vendoring, where by default crates may not have the version in their directory name. This change passes `--versioned-dirs` to `cargo vendor` to enforce that every crate includes the version in the subdir name, which fixes the ui test and brings `--enable-vendor` builds closer to normal ones.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
