develop #8

Merged
David merged 26 commits from develop into master 2024-05-18 20:53:25 +02:00
3 changed files with 25 additions and 9 deletions
Showing only changes of commit e9e5cf61dc - Show all commits

6
.cargo/config.toml Normal file
View File

@ -0,0 +1,6 @@
[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc"
[target.x86_64-apple-darwin]
linker = "x86_64-apple-darwin16-clang"
ar = "x86_64-apple-darwin16-ar"

View File

@ -2,20 +2,26 @@ all:
$(MAKE) build $(MAKE) build
build: build:
cargo build -p warp-runner --release --target x86_64-unknown-linux-musl cargo build -p warp-runner --release --target x86_64-unknown-linux-gnu
strip target/x86_64-unknown-linux-musl/release/warp-runner strip target/x86_64-unknown-linux-gnu/release/warp-runner
CC=x86_64-apple-darwin15-clang cargo build -p warp-runner --release --target x86_64-apple-darwin cargo build -p warp-runner --release --target aarch64-unknown-linux-gnu
x86_64-apple-darwin15-strip target/x86_64-apple-darwin/release/warp-runner aarch64-linux-gnu-strip target/aarch64-unknown-linux-gnu/release/warp-runner
cargo build -p warp-runner --release --target x86_64-apple-darwin
x86_64-apple-darwin16-strip target/x86_64-apple-darwin/release/warp-runner
cargo build -p warp-runner --release --target x86_64-pc-windows-gnu cargo build -p warp-runner --release --target x86_64-pc-windows-gnu
strip target/x86_64-pc-windows-gnu/release/warp-runner.exe strip target/x86_64-pc-windows-gnu/release/warp-runner.exe
cargo build -p warp-packer --release --target x86_64-unknown-linux-musl cargo build -p warp-packer --release --target x86_64-unknown-linux-gnu
strip target/x86_64-unknown-linux-musl/release/warp-packer strip target/x86_64-unknown-linux-gnu/release/warp-packer
CC=x86_64-apple-darwin15-clang cargo build -p warp-packer --release --target x86_64-apple-darwin cargo build -p warp-packer --release --target aarch64-unknown-linux-gnu
x86_64-apple-darwin15-strip target/x86_64-apple-darwin/release/warp-packer aarch64-linux-gnu-strip target/aarch64-unknown-linux-gnu/release/warp-packer
cargo build -p warp-packer --release --target x86_64-apple-darwin
x86_64-apple-darwin16-strip target/x86_64-apple-darwin/release/warp-packer
cargo build -p warp-packer --release --target x86_64-pc-windows-gnu cargo build -p warp-packer --release --target x86_64-pc-windows-gnu
strip target/x86_64-pc-windows-gnu/release/warp-packer.exe strip target/x86_64-pc-windows-gnu/release/warp-packer.exe

View File

@ -22,7 +22,11 @@ lazy_static! {
let mut m = HashMap::new(); let mut m = HashMap::new();
m.insert( m.insert(
"linux-x64", "linux-x64",
include_bytes!("../../target/x86_64-unknown-linux-musl/release/warp-runner").as_slice(), include_bytes!("../../target/x86_64-unknown-linux-gnu/release/warp-runner").as_slice(),
);
m.insert(
"linux-aarch64",
include_bytes!("../../target/aarch64-unknown-linux-gnu/release/warp-runner").as_slice(),
); );
m.insert( m.insert(
"macos-x64", "macos-x64",