mirror of
https://github.com/antos-rde/antos.git
synced 2025-04-30 04:36:47 +02:00
fix: RUST cross compile error
Some checks failed
gitea-sync/antos/pipeline/head There was a failure building this commit
Some checks failed
gitea-sync/antos/pipeline/head There was a failure building this commit
This commit is contained in:
parent
5b6088ffdd
commit
4e583d9795
4
Makefile
4
Makefile
@ -76,10 +76,10 @@ ifeq ($(LUAFCGI_IGNORE),)
|
|||||||
mkdir -p $(BUILD_PREFIX)/bin
|
mkdir -p $(BUILD_PREFIX)/bin
|
||||||
RUSTUP_HOME=$(RUSTUP_HOME) CARGO_HOME=$(CARGO_HOME) \
|
RUSTUP_HOME=$(RUSTUP_HOME) CARGO_HOME=$(CARGO_HOME) \
|
||||||
. $(CARGO_HOME)/env && \
|
. $(CARGO_HOME)/env && \
|
||||||
rustup default stable && \
|
|
||||||
rustup target add $(RUST_TARGET) && \
|
rustup target add $(RUST_TARGET) && \
|
||||||
cargo build --target=$(RUST_TARGET) --release \
|
cargo build --target=$(RUST_TARGET) --release \
|
||||||
--manifest-path=$(ROOT_DIR)/antd/luafcgi/Cargo.toml
|
--manifest-path=$(ROOT_DIR)/antd/luafcgi/Cargo.toml \
|
||||||
|
--config=$(ROOT_DIR)/antd/luafcgi/.cargo/config.toml
|
||||||
install -m 0755 $(ROOT_DIR)/antd/luafcgi/target/$(RUST_TARGET)/release/luad $(BUILD_PREFIX)/bin
|
install -m 0755 $(ROOT_DIR)/antd/luafcgi/target/$(RUST_TARGET)/release/luad $(BUILD_PREFIX)/bin
|
||||||
else
|
else
|
||||||
@echo "Ignore building $@"
|
@echo "Ignore building $@"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user