mirror of
https://github.com/antos-rde/antos.git
synced 2025-04-29 20:26:45 +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
|
||||
RUSTUP_HOME=$(RUSTUP_HOME) CARGO_HOME=$(CARGO_HOME) \
|
||||
. $(CARGO_HOME)/env && \
|
||||
rustup default stable && \
|
||||
rustup target add $(RUST_TARGET) && \
|
||||
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
|
||||
else
|
||||
@echo "Ignore building $@"
|
||||
|
Loading…
x
Reference in New Issue
Block a user