Skip to content

Repace use of static_nobundle with native_link_modifiers within Rust codebase - #90205

Merged
bors merged 2 commits into
rust-lang:masterfrom
mati865:link-modifiers-in-rustc
Oct 30, 2021
Merged

Repace use of static_nobundle with native_link_modifiers within Rust codebase#90205
bors merged 2 commits into
rust-lang:masterfrom
mati865:link-modifiers-in-rustc

Conversation

@mati865

Copy link
Copy Markdown
Member

This fixes warnings when building Rust and running tests:

warning: library kind `static-nobundle` has been superseded by specifying `-bundle` on library kind `static`. Try `static:-bundle`
warning: `rustc_llvm` (lib) generated 2 warnings (1 duplicate)

This fixes warning when building Rust and running tests:
```
warning: library kind `static-nobundle` has been superseded by specifying `-bundle` on library kind `static`. Try `static:-bundle`
warning: `rustc_llvm` (lib) generated 2 warnings (1 duplicate)
```
@rust-highfive

Copy link
Copy Markdown
Contributor

r? @estebank

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 23, 2021
@petrochenkov

Copy link
Copy Markdown
Contributor

r? @petrochenkov@bors r+ rollup

@bors

bors commented Oct 23, 2021

Copy link
Copy Markdown
Collaborator

📌 Commit a076f2b has been approved by petrochenkov

@borsbors 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 23, 2021
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Oct 23, 2021
…petrochenkov
Repace use of `static_nobundle` with `native_link_modifiers` within Rust codebase
This fixes warnings when building Rust and running tests:
```
warning: library kind `static-nobundle` has been superseded by specifying `-bundle` on library kind `static`. Try `static:-bundle`
warning: `rustc_llvm` (lib) generated 2 warnings (1 duplicate)
```
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Oct 24, 2021
…petrochenkov
Repace use of `static_nobundle` with `native_link_modifiers` within Rust codebase
This fixes warnings when building Rust and running tests:
```
warning: library kind `static-nobundle` has been superseded by specifying `-bundle` on library kind `static`. Try `static:-bundle`
warning: `rustc_llvm` (lib) generated 2 warnings (1 duplicate)
```
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Oct 24, 2021
…petrochenkov
Repace use of `static_nobundle` with `native_link_modifiers` within Rust codebase
This fixes warnings when building Rust and running tests:
```
warning: library kind `static-nobundle` has been superseded by specifying `-bundle` on library kind `static`. Try `static:-bundle`
warning: `rustc_llvm` (lib) generated 2 warnings (1 duplicate)
```
This was referenced Oct 24, 2021
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Oct 24, 2021
…petrochenkov
Repace use of `static_nobundle` with `native_link_modifiers` within Rust codebase
This fixes warnings when building Rust and running tests:
```
warning: library kind `static-nobundle` has been superseded by specifying `-bundle` on library kind `static`. Try `static:-bundle`
warning: `rustc_llvm` (lib) generated 2 warnings (1 duplicate)
```
@matthiaskrgr

Copy link
Copy Markdown
Member

@bors r- failed in a rollup: #90226 (comment)

@borsbors 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-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Oct 24, 2021
@apirainoapiraino added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Oct 28, 2021
@mati865

Copy link
Copy Markdown
MemberAuthor

Somehow most of run-make* tests were previously ignored, still there are many ignored but at least the tests that failed on CI passed.
Let me know if I should drop tests changes or squash it.

@petrochenkovpetrochenkov 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 29, 2021
@petrochenkov

petrochenkov commented Oct 29, 2021

Copy link
Copy Markdown
Contributor

Let me know if I should drop tests changes

Nah, static-nobundle will (hopefully) soon be removed anyway, so the tests will need to be updated too.
@bors r+

@bors

bors commented Oct 29, 2021

Copy link
Copy Markdown
Collaborator

📌 Commit 533247c has been approved by petrochenkov

@borsbors 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 29, 2021
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Oct 30, 2021
…petrochenkov
Repace use of `static_nobundle` with `native_link_modifiers` within Rust codebase
This fixes warnings when building Rust and running tests:
```
warning: library kind `static-nobundle` has been superseded by specifying `-bundle` on library kind `static`. Try `static:-bundle`
warning: `rustc_llvm` (lib) generated 2 warnings (1 duplicate)
```
@matthiaskrgr

Copy link
Copy Markdown
Member

@bors rollup=iffy

@bors

bors commented Oct 30, 2021

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 533247c with merge 2609fab...

@bors

bors commented Oct 30, 2021

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-actions
Approved by: petrochenkov
Pushing 2609fab to master...

@borsbors added the merged-by-bors This PR was explicitly merged by bors. label Oct 30, 2021
@bors
bors merged commit 2609fab into rust-lang:masterOct 30, 2021
@rustbotrustbot added this to the 1.58.0 milestone Oct 30, 2021
@mati865
mati865 deleted the link-modifiers-in-rustc branch October 30, 2021 19:52
@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (2609fab): comparison url.

Summary: This benchmark run did not return any relevant changes.

If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf.

@rustbot label: -perf-regression

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-borsThis PR was explicitly merged by bors.S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-compilerRelevant 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.

9 participants

@mati865@rust-highfive@petrochenkov@bors@matthiaskrgr@rust-timer@estebank@apiraino@rustbot