Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5e7529a3ac |
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
# for Linux
|
# for Linux
|
||||||
[target.x86_64-unknown-linux-gnu]
|
[target.x86_64-unknown-linux-gnu]
|
||||||
linker = "clang"
|
linker = "clang"
|
||||||
rustflags = ["-C", "link-arg=-fuse-ld=/usr/bin/mold", "-Zshare-generics=y", ]
|
rustflags = ["-C", "link-arg=-fuse-ld=/usr/bin/mold", "-Zshare-generics=y", "-D", "warnings", ]
|
||||||
|
|
||||||
[unstable]
|
[unstable]
|
||||||
codegen-backend = true
|
codegen-backend = true
|
||||||
@@ -10,4 +10,4 @@ codegen-backend = true
|
|||||||
codegen-backend = "llvm"
|
codegen-backend = "llvm"
|
||||||
|
|
||||||
[profile.dev.package."*"]
|
[profile.dev.package."*"]
|
||||||
codegen-backend = "llvm"
|
codegen-backend = "llvm"
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ jobs:
|
|||||||
- name: Cache Rust dependencies and build artifacts
|
- name: Cache Rust dependencies and build artifacts
|
||||||
uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
|
uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
|
||||||
with:
|
with:
|
||||||
|
prefix-key: v1-rust
|
||||||
shared-key: linux-nightly
|
shared-key: linux-nightly
|
||||||
cache-bin: false
|
cache-bin: false
|
||||||
|
|
||||||
@@ -45,7 +46,7 @@ jobs:
|
|||||||
pkg-config
|
pkg-config
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: RUSTFLAGS="-D warnings" cargo build --locked -j 4
|
run: cargo build --locked -j 4
|
||||||
|
|
||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
run: cargo test --locked --lib -j 4
|
run: cargo test --locked --lib -j 4
|
||||||
|
|||||||
Reference in New Issue
Block a user