mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-27 07:14:18 +08:00
Use cargo instead of xargo for rust-cairo and rust-cairo-demo
This commit is contained in:
parent
f848f9f87f
commit
cf861a663a
@ -4,7 +4,7 @@ BUILD_DEPENDS=(cairo expat fontconfig freetype libpng pixman zlib)
|
||||
function recipe_build {
|
||||
sysroot="$(realpath ../sysroot)"
|
||||
cp -p "$ROOT/Xargo.toml" "Xargo.toml"
|
||||
xargo rustc --target "$TARGET" --release ${CARGOFLAGS} \
|
||||
cargo rustc --target "$TARGET" --release ${CARGOFLAGS} \
|
||||
-- \
|
||||
-L "${sysroot}/lib" \
|
||||
-l cairo \
|
||||
|
||||
@ -5,7 +5,7 @@ CARGOFLAGS="--example gui"
|
||||
function recipe_build {
|
||||
sysroot="$(realpath ../sysroot)"
|
||||
cp -p "$ROOT/Xargo.toml" "Xargo.toml"
|
||||
xargo rustc --target "$TARGET" --release ${CARGOFLAGS} \
|
||||
cargo rustc --target "$TARGET" --release ${CARGOFLAGS} \
|
||||
-- \
|
||||
-L "${sysroot}/lib" \
|
||||
-l cairo \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user