Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,17 @@ jobs:
- run: rustup target add wasm32-wasip1
- run: cargo test --locked

msrv:
name: Build MSRV
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install Rust (rustup)
run: rustup update 1.76.0 --no-self-update && rustup default 1.76.0
- run: cargo build

rustfmt:
name: Rustfmt
runs-on: ubuntu-latest
Expand All @@ -97,6 +108,7 @@ jobs:
- test
- rustfmt
- build
- msrv
if: always()

steps:
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
description = "Linker for `wasm32-wasip2`"
repository = "https://github.com/bytecodealliance/wasm-component-ld"
readme = "README.md"
rust-version = "1.76.0"

[package.metadata.binstall]
pkg-url = "{repo}/releases/download/v{version}/{name}-v{version}-{target-arch}-{target-family}{archive-suffix}"
Expand Down
4 changes: 3 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
use wasm_component_ld::main;
fn main() {
wasm_component_ld::main();
}