Skip to content

Commit

Permalink
Add msrv marker for 1.76.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Jul 18, 2024
1 parent 129b0ee commit 3dc0f15
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
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();
}

0 comments on commit 3dc0f15

Please sign in to comment.