-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
rustc_target: introduce Arch #147645
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
rustc_target: introduce Arch #147645
Conversation
|
These commits modify compiler targets. Some changes occurred in compiler/rustc_attr_parsing Some changes occurred in cfg and check-cfg configuration cc @Urgau Some changes occurred in compiler/rustc_codegen_cranelift cc @bjorn3 Some changes occurred in compiler/rustc_codegen_ssa Some changes occurred in compiler/rustc_codegen_gcc |
|
r? @nnethercote rustbot has assigned @nnethercote. Use |
289dc7b to
23b2e59
Compare
This comment has been minimized.
This comment has been minimized.
|
This seems like a good change, but I think it's large enough that it should have an MCP, meeting the criteria of "Significant internal refactorings/changes" -- it's a simple change, but one that touches a lot of files. |
Done: rust-lang/compiler-team#926. |
|
I'm curious if this has any performance impact, let's see. @bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
rustc_target: introduce Architecture
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (3a048fa): comparison URL. Overall result: ❌✅ regressions and improvements - no action neededBenchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf. @bors rollup=never Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary -2.1%, secondary 1.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 2.1%, secondary 0.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (secondary -0.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 473.51s -> 474.979s (0.31%) |
|
☔ The latest upstream changes (presumably #147692) made this pull request unmergeable. Please resolve the merge conflicts. |
This comment has been minimized.
This comment has been minimized.
|
Looks like two things are needed:
@rustbot author |
|
☀️ Test successful - checks-actions |
What is this?This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.Comparing 6e41e61 (parent) -> c0ff72f (this PR) Test differencesShow 4 test diffsStage 0
Stage 1
Additionally, 2 doctest diffs were found. These are ignored, as they are noisy. Job group index Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard c0ff72ffc4e88a2bbb69add95a4946d213996895 --output-dir test-dashboardAnd then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
|
Finished benchmarking commit (c0ff72f): comparison URL. Overall result: ❌✅ regressions and improvements - no action needed@rustbot label: -perf-regression Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary 1.0%, secondary -1.6%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -3.8%, secondary -0.9%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 475.404s -> 474.063s (-0.28%) |
Relevant upstream PR: - rust-lang/rust#147645 (rustc_target: introduce Arch) Resolves: model-checking#4450
Relevant upstream PR: - rust-lang/rust#147645 (rustc_target: introduce Arch) Resolves: #4450 By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.
rustc_target: Remove unused Arch::PowerPC64LE This variant has been added in rust-lang#147645, but actually unused since target_arch for powerpc64le- targets is "powerpc64". (The difference between powerpc64- and powerpc64le- targets is identified by target_endian.) Note: This is an internal cleanup and does NOT remove `powerpc64le-*` targets.
rustc_target: Remove unused Arch::PowerPC64LE This variant has been added in rust-lang#147645, but actually unused since target_arch for powerpc64le- targets is "powerpc64". (The difference between powerpc64- and powerpc64le- targets is identified by target_endian.) Note: This is an internal cleanup and does NOT remove `powerpc64le-*` targets.
rustc_target: Remove unused Arch::PowerPC64LE This variant has been added in rust-lang#147645, but actually unused since target_arch for powerpc64le- targets is "powerpc64". (The difference between powerpc64- and powerpc64le- targets is identified by target_endian.) Note: This is an internal cleanup and does NOT remove `powerpc64le-*` targets.
rustc_target: Remove unused Arch::PowerPC64LE This variant has been added in rust-lang#147645, but actually unused since target_arch for powerpc64le- targets is "powerpc64". (The difference between powerpc64- and powerpc64le- targets is identified by target_endian.) Note: This is an internal cleanup and does NOT remove `powerpc64le-*` targets.
Rollup merge of #150966 - arch-powerpc64le, r=petrochenkov rustc_target: Remove unused Arch::PowerPC64LE This variant has been added in #147645, but actually unused since target_arch for powerpc64le- targets is "powerpc64". (The difference between powerpc64- and powerpc64le- targets is identified by target_endian.) Note: This is an internal cleanup and does NOT remove `powerpc64le-*` targets.
rustc_target: Remove unused Arch::PowerPC64LE This variant has been added in rust-lang/rust#147645, but actually unused since target_arch for powerpc64le- targets is "powerpc64". (The difference between powerpc64- and powerpc64le- targets is identified by target_endian.) Note: This is an internal cleanup and does NOT remove `powerpc64le-*` targets.
Improve type safety by using an enum rather than strings.