Skip to content

Fix target_abi in sparc-unknown-none-elf#131174

Merged
bors merged 1 commit into
rust-lang:masterfrom
madsmtm:target-info-sparc-abi
Oct 5, 2024
Merged

Fix target_abi in sparc-unknown-none-elf#131174
bors merged 1 commit into
rust-lang:masterfrom
madsmtm:target-info-sparc-abi

Conversation

@madsmtm

@madsmtm madsmtm commented Oct 2, 2024

Copy link
Copy Markdown
Contributor

This was previously set to target_abi = "elf", but elf is not used elsewhere as a target ABI (even though there's many targets that have it in their name), so I've removed it.

CC target maintainer @jonathanpallant, what do you think about this?
@rustbot label O-SPARC

@rustbot

rustbot commented Oct 2, 2024

Copy link
Copy Markdown
Collaborator

r? @pnkfelix

rustbot has assigned @pnkfelix.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Oct 2, 2024
@rustbot

rustbot commented Oct 2, 2024

Copy link
Copy Markdown
Collaborator

These commits modify compiler targets.
(See the Target Tier Policy.)

@rustbot rustbot added the O-SPARC Target: SPARC processors label Oct 2, 2024
@workingjubilee

Copy link
Copy Markdown
Member

Noting rust-lang/compiler-team#716

@rust-log-analyzer

This comment has been minimized.

@madsmtm madsmtm force-pushed the target-info-sparc-abi branch from eb33df8 to 734594c Compare October 2, 2024 20:06
@jonathanpallant

Copy link
Copy Markdown
Contributor

I mean, sure, but the target is still broken thanks to symbol.o having the wrong CPU architecture, isn't it?

@madsmtm

madsmtm commented Oct 3, 2024

Copy link
Copy Markdown
Contributor Author

I mean, sure, but the target is still broken thanks to symbol.o having the wrong CPU architecture, isn't it?

Don't know anything about that (or the target, for that matter), just opened this PR to fix the inconsistency in rustc.

Comment thread compiler/rustc_target/src/spec/targets/sparc_unknown_none_elf.rs Outdated
@pnkfelix

pnkfelix commented Oct 4, 2024

Copy link
Copy Markdown
Contributor

@rustbot author

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 4, 2024
@pnkfelix

pnkfelix commented Oct 4, 2024

Copy link
Copy Markdown
Contributor

(r=me once above change has been made)

This was previously set to `target_abi = "elf"`, but `elf` is not used
elsewhere as a target ABI (even though there's many targets that have it
in their name).
@madsmtm madsmtm force-pushed the target-info-sparc-abi branch from 734594c to f51d8e3 Compare October 4, 2024 18:47
@rustbot

rustbot commented Oct 4, 2024

Copy link
Copy Markdown
Collaborator

Some changes occurred in tests/ui/check-cfg

cc @Urgau

@madsmtm

madsmtm commented Oct 4, 2024

Copy link
Copy Markdown
Contributor Author

Done now, thanks for the review
@rustbot ready

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Oct 4, 2024
@pnkfelix

pnkfelix commented Oct 4, 2024

Copy link
Copy Markdown
Contributor

@bors r+ rollup

@bors

bors commented Oct 4, 2024

Copy link
Copy Markdown
Collaborator

📌 Commit f51d8e3 has been approved by pnkfelix

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 4, 2024
workingjubilee added a commit to workingjubilee/rustc that referenced this pull request Oct 4, 2024
…nkfelix

Fix `target_abi` in `sparc-unknown-none-elf`

This was previously set to `target_abi = "elf"`, but `elf` is not used elsewhere as a target ABI (even though there's many targets that have it in their name), so I've removed it.

CC target maintainer `@jonathanpallant,` what do you think about this?
`@rustbot` label O-SPARC
bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 4, 2024
…kingjubilee

Rollup of 10 pull requests

Successful merges:

 - rust-lang#130453 (Add x86_64-unknown-trusty as tier 3 target)
 - rust-lang#130518 (Stabilize the `map`/`value` methods on `ControlFlow`)
 - rust-lang#131116 (Increase Stack Size for AIX)
 - rust-lang#131171 (Fix `target_env` in `avr-unknown-gnu-atmega328`)
 - rust-lang#131174 (Fix `target_abi` in `sparc-unknown-none-elf`)
 - rust-lang#131177 ( Stabilize 5 `const_mut_refs`-dependent API)
 - rust-lang#131238 (Remove mw from triagebot.toml)
 - rust-lang#131240 (Fix typo in csky-unknown-linux-gnuabiv2.md)
 - rust-lang#131257 ([rustdoc] Fix list margins)
 - rust-lang#131264 (Fix some `pub(crate)` that were undetected bc of `#[instrument]`)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 1462815 into rust-lang:master Oct 5, 2024
@rustbot rustbot added this to the 1.83.0 milestone Oct 5, 2024
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Oct 5, 2024
Rollup merge of rust-lang#131174 - madsmtm:target-info-sparc-abi, r=pnkfelix

Fix `target_abi` in `sparc-unknown-none-elf`

This was previously set to `target_abi = "elf"`, but `elf` is not used elsewhere as a target ABI (even though there's many targets that have it in their name), so I've removed it.

CC target maintainer ``@jonathanpallant,`` what do you think about this?
``@rustbot`` label O-SPARC
@madsmtm madsmtm deleted the target-info-sparc-abi branch October 5, 2024 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

O-SPARC Target: SPARC processors S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants