Skip to content

Rollup of 9 pull requests #138923

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

Merged
merged 26 commits into from
Mar 25, 2025
Merged
Changes from 2 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
5fe1e47
reintroduce remote-test support in run-make tests
pietroalbini Mar 18, 2025
39efa7c
Make default_codegen_backend serializable
tvladyslav Mar 17, 2025
c25e4bf
resolve: Avoid some unstable iteration 3
petrochenkov Mar 22, 2025
9dd5340
Remove `is_any_keyword` methods.
nnethercote Mar 12, 2025
a28d509
Improve keyword comments a little.
nnethercote Mar 12, 2025
3aaa12f
Fix some formatting.
nnethercote Mar 12, 2025
10236fb
Alphabetize the keywords list.
nnethercote Mar 12, 2025
a29e875
Move `is_used_keyword_conditional`.
nnethercote Mar 12, 2025
d9f250a
Remove duplicated loop when computing doc cfgs
GuillaumeGomez Mar 20, 2025
f5659f2
ignore tests broken while cross compiling
pietroalbini Mar 24, 2025
67e0b89
Add a helper for building an owner id in ast lowering
oli-obk Mar 24, 2025
251455b
Allow WellFormed goals to be returned from relating in new solver
compiler-errors Mar 23, 2025
aba23fd
Don't mark privacy test as needing GCE
compiler-errors Mar 21, 2025
c80d9b8
Don't ICE when encountering placeholders in layout computation
compiler-errors Mar 22, 2025
484362e
Mark a fixed test
compiler-errors Mar 21, 2025
ba4190c
resolve: Avoid some unstable iteration 2
petrochenkov Mar 16, 2025
7f2cb4c
Slightly reword triagebot ping message for `relnotes-interest-group`
jieyouxu Mar 22, 2025
8020558
Rollup merge of #138385 - nnethercote:keyword-tweaks, r=Noratrieb
TaKO8Ki Mar 25, 2025
922cc75
Rollup merge of #138580 - petrochenkov:resinstab, r=Nadrieril
TaKO8Ki Mar 25, 2025
3101bfb
Rollup merge of #138652 - ferrocene:pa-remote-test-rmake, r=jieyouxu
TaKO8Ki Mar 25, 2025
e9a528c
Rollup merge of #138701 - tvladyslav:serializable_default_codegen_bac…
TaKO8Ki Mar 25, 2025
07d0963
Rollup merge of #138755 - GuillaumeGomez:rm-duplicated-loop, r=camelid
TaKO8Ki Mar 25, 2025
5cdafb9
Rollup merge of #138829 - jieyouxu:adjust-relnotes-interest-group-des…
TaKO8Ki Mar 25, 2025
117b3fd
Rollup merge of #138837 - petrochenkov:resinstab2, r=jieyouxu
TaKO8Ki Mar 25, 2025
b2629be
Rollup merge of #138838 - compiler-errors:new-solver-crashes-tweaks, …
TaKO8Ki Mar 25, 2025
3757104
Rollup merge of #138895 - oli-obk:dedup-owner-id-creation, r=compiler…
TaKO8Ki Mar 25, 2025
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
8 changes: 8 additions & 0 deletions compiler/rustc_target/src/spec/json.rs
Original file line number Diff line number Diff line change
@@ -103,6 +103,12 @@ impl Target {
base.$key_name = Some(s);
}
} );
($key_name:ident, Option<StaticCow<str>>) => ( {
let name = (stringify!($key_name)).replace("_", "-");
if let Some(s) = obj.remove(&name).and_then(|b| Some(b.as_str()?.to_string())) {
base.$key_name = Some(s.into());
}
} );
($key_name:ident, BinaryFormat) => ( {
let name = (stringify!($key_name)).replace("_", "-");
obj.remove(&name).and_then(|f| f.as_str().and_then(|s| {
@@ -623,6 +629,7 @@ impl Target {
key!(stack_probes, StackProbeType)?;
key!(min_global_align, Option<u64>);
key!(default_codegen_units, Option<u64>);
key!(default_codegen_backend, Option<StaticCow<str>>);
key!(trap_unreachable, bool);
key!(requires_lto, bool);
key!(singlethread, bool);
@@ -801,6 +808,7 @@ impl ToJson for Target {
target_option_val!(stack_probes);
target_option_val!(min_global_align);
target_option_val!(default_codegen_units);
target_option_val!(default_codegen_backend);
target_option_val!(trap_unreachable);
target_option_val!(requires_lto);
target_option_val!(singlethread);