Skip to content

Include llvm-ar with llvm-tools component - #59351

Merged
bors merged 1 commit into
rust-lang:masterfrom
phil-opp:llvm-ar
Mar 28, 2019
Merged

Include llvm-ar with llvm-tools component#59351
bors merged 1 commit into
rust-lang:masterfrom
phil-opp:llvm-ar

Conversation

@phil-opp

Copy link
Copy Markdown
Contributor

Adds the llvm-ar tool to the llvm-tools component. This is useful for building and linking native code in cargo build scripts without needing to use the platform specific ar. According to #58663 it is also useful for WASM.

llvm-ar is very small (~82KB), so it does not significantly increase the size of the llvm-tools component.

Fixes#58663

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @nikomatsakis

(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 Mar 21, 2019
@phil-oppphil-opp mentioned this pull request Mar 23, 2019
2 tasks
@Centril

Copy link
Copy Markdown
Contributor

Reassigning to lessen Niko's backlog; r? @alexcrichton

@alexcrichton

Copy link
Copy Markdown
Member

@bors: r+

@bors

bors commented Mar 27, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit 45e9acc has been approved by alexcrichton

@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 Mar 27, 2019
Centril added a commit to Centril/rust that referenced this pull request Mar 28, 2019
Include llvm-ar with llvm-tools component
Adds the `llvm-ar` tool to the `llvm-tools` component. This is useful for [building and linking native code](https://doc.rust-lang.org/cargo/reference/build-scripts.html#case-study-building-some-native-code) in cargo build scripts without needing to use the platform specific `ar`. According to rust-lang#58663 it is also useful for WASM.
`llvm-ar` is very small (~82KB), so it does not significantly increase the size of the `llvm-tools` component.
Fixesrust-lang#58663
@CentrilCentril mentioned this pull request Mar 28, 2019
bors added a commit that referenced this pull request Mar 28, 2019
Rollup of 12 pull requests
Successful merges:
- #57987 (Fix some AArch64 typos)
- #58581 (Refactor generic parameter encoder functions)
- #58803 (fs::copy() unix: set file mode early)
- #58848 (Prevent cache issues on version updates)
- #59198 (Do not complain about unmentioned fields in recovered patterns)
- #59351 (Include llvm-ar with llvm-tools component)
- #59413 (HirIdify hir::ItemId)
- #59441 (Remove the block on natvis for lld-link.)
- #59448 (Use consistent phrasing for all macro summaries)
- #59456 (Add documentation about `for` used as higher ranked trait bounds)
- #59472 (Document that `std::io::BufReader` discards contents on drop)
- #59474 (Fix link capitalization in documentation of std::io::BufWriter.)
Failed merges:
r? @ghost
@bors
bors merged commit 45e9acc into rust-lang:masterMar 28, 2019
@phil-opp
phil-opp deleted the llvm-ar branch April 1, 2019 10:23
borsBot added a commit to rust-osdev/bootloader that referenced this pull request Apr 1, 2019
51: Rewrite build system r=phil-opp a=phil-opp
- [x] Blocked on rust-lang/rust#59351
- [x] Blocked on rust-lang/cargo#6778Fixes#33Fixes#48
Co-authored-by: Philipp Oppermann <dev@phil-opp.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@phil-opp@rust-highfive@Centril@alexcrichton@bors@nikomatsakis