Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
redox-os
cookbook
Commits
cf861a66
Verified
Commit
cf861a66
authored
Jul 14, 2021
by
Jeremy Soller
Browse files
Use cargo instead of xargo for rust-cairo and rust-cairo-demo
parent
f848f9f8
Changes
2
Hide whitespace changes
Inline
Side-by-side
recipes/rust-cairo-demo/recipe.sh
View file @
cf861a66
...
...
@@ -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"
x
argo rustc
--target
"
$TARGET
"
--release
${
CARGOFLAGS
}
\
c
argo rustc
--target
"
$TARGET
"
--release
${
CARGOFLAGS
}
\
--
\
-L
"
${
sysroot
}
/lib"
\
-l
cairo
\
...
...
recipes/rust-cairo/recipe.sh
View file @
cf861a66
...
...
@@ -5,7 +5,7 @@ CARGOFLAGS="--example gui"
function
recipe_build
{
sysroot
=
"
$(
realpath
../sysroot
)
"
cp
-p
"
$ROOT
/Xargo.toml"
"Xargo.toml"
x
argo rustc
--target
"
$TARGET
"
--release
${
CARGOFLAGS
}
\
c
argo rustc
--target
"
$TARGET
"
--release
${
CARGOFLAGS
}
\
--
\
-L
"
${
sysroot
}
/lib"
\
-l
cairo
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment