Use cargo instead of xargo for rust-cairo and rust-cairo-demo

This commit is contained in:
Jeremy Soller 2021-07-14 12:24:18 -06:00
parent f848f9f87f
commit cf861a663a
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1
2 changed files with 2 additions and 2 deletions

View File

@ -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 \

View File

@ -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 \