Skip to content

Add manifest metadata for cargo binstall#1562

Merged
alexcrichton merged 1 commit intobytecodealliance:mainfrom
alexcrichton:cargo-binstall-metadata
May 16, 2024
Merged

Add manifest metadata for cargo binstall#1562
alexcrichton merged 1 commit intobytecodealliance:mainfrom
alexcrichton:cargo-binstall-metadata

Conversation

@alexcrichton
Copy link
Copy Markdown
Member

I've seen this recommended a number of times for installing precompiled binaries and this enables cargo binstall to pull from the precompiled artifacts produced on CI rather than needing a third-party source.

I've seen this recommended a number of times for installing precompiled
binaries and this enables `cargo binstall` to pull from the precompiled
artifacts produced on CI rather than needing a third-party source.
@alexcrichton
Copy link
Copy Markdown
Member Author

I've tested this out a bit over on wasm-component-ld and it seems to work well there so copying over here too.

@alexcrichton alexcrichton added this pull request to the merge queue May 16, 2024
Merged via the queue into bytecodealliance:main with commit cff3c9a May 16, 2024
@alexcrichton alexcrichton deleted the cargo-binstall-metadata branch May 16, 2024 19:30
alexcrichton added a commit to alexcrichton/wasmtime that referenced this pull request May 22, 2024
This was pioneered in bytecodealliance/wasm-tools#1562 and looks to be
working well so I've copied over similar metadata for Wasmtime. I've
seen the `cargo binstall` method of installing binaries to be somewhat
common and we've already got all the necessary binaries so it seemed
nice to add support. Wasmtime doesn't name the artifacts after Rust
target names so some manual configuration is required here, but
otherwise this hopefully isn't too costly to maintain.
github-merge-queue Bot pushed a commit to bytecodealliance/wasmtime that referenced this pull request May 22, 2024
This was pioneered in bytecodealliance/wasm-tools#1562 and looks to be
working well so I've copied over similar metadata for Wasmtime. I've
seen the `cargo binstall` method of installing binaries to be somewhat
common and we've already got all the necessary binaries so it seemed
nice to add support. Wasmtime doesn't name the artifacts after Rust
target names so some manual configuration is required here, but
otherwise this hopefully isn't too costly to maintain.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants