rm cargo config.toml and update makefile
All checks were successful
ci/woodpecker/push/debug Pipeline was successful
ci/woodpecker/pr/debug Pipeline was successful
ci/woodpecker/deployment/debug Pipeline was successful
ci/woodpecker/deployment/release/3 Pipeline was successful
ci/woodpecker/deployment/release/2 Pipeline was successful
ci/woodpecker/deployment/release/1 Pipeline was successful
ci/woodpecker/deployment/release/4 Pipeline was successful
ci/woodpecker/deployment/publish Pipeline was successful
All checks were successful
ci/woodpecker/push/debug Pipeline was successful
ci/woodpecker/pr/debug Pipeline was successful
ci/woodpecker/deployment/debug Pipeline was successful
ci/woodpecker/deployment/release/3 Pipeline was successful
ci/woodpecker/deployment/release/2 Pipeline was successful
ci/woodpecker/deployment/release/1 Pipeline was successful
ci/woodpecker/deployment/release/4 Pipeline was successful
ci/woodpecker/deployment/publish Pipeline was successful
This commit is contained in:
parent
4f04550664
commit
edc6736502
2 changed files with 5 additions and 11 deletions
|
@ -1,3 +0,0 @@
|
||||||
#[target.x86_64-unknown-linux-gnu]
|
|
||||||
#linker = "clang"
|
|
||||||
#rustflags = ["-C", "link-arg=-fuse-ld=mold"]
|
|
13
Makefile
13
Makefile
|
@ -1,13 +1,10 @@
|
||||||
.PHONY: doc all release shell run1 run2 run3
|
.PHONY: doc all run1 run2 run3
|
||||||
|
|
||||||
all:
|
all:
|
||||||
clear; cargo build
|
clear
|
||||||
|
cargo build \
|
||||||
release:
|
--config 'target.x86_64-unknown-linux-gnu.linker="clang"' \
|
||||||
nix-build --attr pkgs.amd64.release --no-build-output
|
--config 'target.x86_64-unknown-linux-gnu.rustflags=["-C", "link-arg=-fuse-ld=mold"]' \
|
||||||
|
|
||||||
shell:
|
|
||||||
nix-shell
|
|
||||||
|
|
||||||
# ----
|
# ----
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue