Template
Compare commits
2
Commits
50ecad1842
...
d90404741d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d90404741d | ||
|
|
094d50553f |
@@ -68,11 +68,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
targets: x86_64-unknown-linux-musl
|
targets: x86_64-unknown-linux-musl
|
||||||
|
|
||||||
- name: Install Cross
|
|
||||||
uses: taiki-e/cache-cargo-install-action@v3 # v3
|
|
||||||
with:
|
|
||||||
tool: cargo-cross
|
|
||||||
|
|
||||||
- name: Cache cargo dependencies
|
- name: Cache cargo dependencies
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
@@ -91,10 +86,6 @@ jobs:
|
|||||||
cargo build --target x86_64-unknown-linux-gnu --release --locked
|
cargo build --target x86_64-unknown-linux-gnu --release --locked
|
||||||
cargo build --target x86_64-unknown-linux-musl --release --locked
|
cargo build --target x86_64-unknown-linux-musl --release --locked
|
||||||
|
|
||||||
- name: Build for Linux aarch64 (GNU and MUSL)
|
|
||||||
run: |
|
|
||||||
cargo cross --target aarch64-unknown-linux-gnu --release --locked
|
|
||||||
cargo cross --target aarch64-unknown-linux-musl --release --locked
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
pub fn two() -> i32 {
|
||||||
|
2
|
||||||
|
}
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
fn main() {
|
|
||||||
println!("Hello, world!");
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user