Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 9 pull requests #128883

Merged
merged 30 commits into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
fb1dac2
Fix VxWorks available parallelism: Move nonzero::uncheked into unsafe…
biabbas Aug 8, 2024
1e3ea29
Update platform support docs for VxWorks target
biabbas Aug 8, 2024
2abcc6b
Vxworks: Extern taskNameSet and fix build errors
biabbas Aug 8, 2024
09ae438
Add `Steal::is_stolen()`
Nadrieril Aug 8, 2024
c966370
Tweak wording
Nadrieril Aug 8, 2024
7c4150f
rustdoc: do not run doctests with invalid langstrings
notriddle Aug 8, 2024
11b801b
[MIPS] fix the name of signal 19 in mips
minxuanz Aug 8, 2024
a3f8edf
[SPARC] fix the name of signal 19 in sparc arch
minxuanz Aug 8, 2024
625432c
fix format
minxuanz Aug 9, 2024
0106f5b
delete space
minxuanz Aug 9, 2024
b20d9f0
VxWorks: Add safety comment for vxCpuEnabledGet
biabbas Aug 9, 2024
b589f86
tests: add regression test for incorrect `BytePos` manipulation trigg…
jieyouxu Aug 9, 2024
879bfd7
hir_typeck: use `end_point` over `BytePos` manipulations
jieyouxu Aug 9, 2024
92520a9
tests: add regression test for #128845
jieyouxu Aug 9, 2024
d65f131
parser: ensure let stmt compound assignment removal suggestion respec…
jieyouxu Aug 9, 2024
38874a6
use stable sort to sort multipart diagnostics
folkertdev Aug 8, 2024
a7c415c
add `builder-config` into tarball sources
onur-ozkan Aug 8, 2024
ff0d37c
use absolute path for `config.toml`
onur-ozkan Aug 8, 2024
f72cb04
Make `Build::run` comment more accurate
Kobzol Aug 9, 2024
a380d5e
Do not print verbose error when a bootstrap command fails without ver…
Kobzol Aug 9, 2024
1d19c2c
rustdoc: move invalid langstring test to UI
notriddle Aug 9, 2024
55329cc
Rollup merge of #128815 - Nadrieril:is_stolen, r=jieyouxu,lcnr
matthiaskrgr Aug 9, 2024
5372936
Rollup merge of #128817 - biabbas:vxworks_update, r=tgross35
matthiaskrgr Aug 9, 2024
5f1e25e
Rollup merge of #128822 - onur-ozkan:add-build-config-in-tarballs, r=…
matthiaskrgr Aug 9, 2024
9f11eb1
Rollup merge of #128838 - notriddle:notriddle/invalid-tag-is-not-rust…
matthiaskrgr Aug 9, 2024
2066002
Rollup merge of #128852 - folkertdev:multipart-suggestion-stable-sort…
matthiaskrgr Aug 9, 2024
2e0c5ad
Rollup merge of #128859 - MinxuanZ:mips-sig, r=Amanieu
matthiaskrgr Aug 9, 2024
9eb77ac
Rollup merge of #128864 - jieyouxu:funnicode, r=Urgau
matthiaskrgr Aug 9, 2024
665a1a4
Rollup merge of #128865 - jieyouxu:unicurd, r=Urgau
matthiaskrgr Aug 9, 2024
cea3b42
Rollup merge of #128874 - Kobzol:cmd-verbose-logging, r=onur-ozkan
matthiaskrgr Aug 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/bootstrap/src/core/config/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1325,7 +1325,11 @@ impl Config {
// Give a hard error if `--config` or `RUST_BOOTSTRAP_CONFIG` are set to a missing path,
// but not if `config.toml` hasn't been created.
let mut toml = if !using_default_path || toml_path.exists() {
config.config = Some(toml_path.clone());
config.config = Some(if cfg!(not(feature = "bootstrap-self-test")) {
toml_path.canonicalize().unwrap()
} else {
toml_path.clone()
});
get_toml(&toml_path)
} else {
config.config = None;
Expand Down
6 changes: 6 additions & 0 deletions src/bootstrap/src/utils/tarball.rs
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,12 @@ impl<'a> Tarball<'a> {
channel::write_commit_hash_file(&self.overlay_dir, &info.sha);
channel::write_commit_info_file(&self.overlay_dir, info);
}

// Add config file if present.
if let Some(config) = &self.builder.config.config {
self.add_renamed_file(config, &self.overlay_dir, "builder-config");
}

for file in self.overlay.legal_and_readme() {
self.builder.install(&self.builder.src.join(file), &self.overlay_dir, 0o644);
}
Expand Down