mirror of
https://github.com/wasmerio/wasmer.git
synced 2025-09-04 15:28:26 +00:00
Work around wasmer-headless build failure by switching away from Xargo
This commit is contained in:
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@@ -309,7 +309,6 @@ jobs:
|
||||
- name: Build Minimal Wasmer Headless
|
||||
if: ${{ !startsWith(matrix.build, 'linux-musl-x64') }}
|
||||
run: |
|
||||
cargo install xargo
|
||||
echo "" >> Cargo.toml
|
||||
echo "[profile.release]" >> Cargo.toml
|
||||
echo "opt-level = 'z'" >> Cargo.toml
|
||||
@@ -321,9 +320,7 @@ jobs:
|
||||
echo "incremental = false" >> Cargo.toml
|
||||
echo "codegen-units = 1" >> Cargo.toml
|
||||
echo "rpath = false" >> Cargo.toml
|
||||
rustup override set nightly-2024-11-07
|
||||
make build-wasmer-headless-minimal
|
||||
rustup override unset
|
||||
- name: Dist
|
||||
run: |
|
||||
make distribution
|
||||
|
2
Makefile
2
Makefile
@@ -490,7 +490,7 @@ build-wasmer-wasm:
|
||||
# rpath = false
|
||||
build-wasmer-headless-minimal: RUSTFLAGS += -C panic=abort
|
||||
build-wasmer-headless-minimal:
|
||||
RUSTFLAGS="${RUSTFLAGS}" xargo build --target $(HOST_TARGET) --release --manifest-path=lib/cli/Cargo.toml --no-default-features --features sys,headless-minimal --bin wasmer-headless
|
||||
RUSTFLAGS="${RUSTFLAGS}" cargo build --target $(HOST_TARGET) --release --manifest-path=lib/cli/Cargo.toml --no-default-features --features sys,headless-minimal --bin wasmer-headless
|
||||
ifeq ($(IS_DARWIN), 1)
|
||||
strip target/$(HOST_TARGET)/release/wasmer-headless
|
||||
else ifeq ($(IS_WINDOWS), 1)
|
||||
|
@@ -1,2 +0,0 @@
|
||||
[dependencies]
|
||||
std = {}
|
Reference in New Issue
Block a user