rust-hello-world builds :)

This commit is contained in:
Cody P Schafer
2014-11-20 20:44:10 -05:00
parent 9f180fdf7b
commit 5811ada7fe
3 changed files with 12 additions and 7 deletions

View File

@@ -77,7 +77,7 @@ oe_runrustc () {
"${RUSTC}" ${RUSTC_ARCHFLAGS} ${RUSTC_FLAGS} "$@"
}
cargo_config () {
oe_cargo_config () {
mkdir -p .cargo
# FIXME: we currently blow away the entire config because duplicate
# sections are treated as a parse error by cargo (causing the entire
@@ -103,7 +103,7 @@ rpath = true
EOF
}
cargo_build () {
oe_cargo_build () {
# FIXME: if there is already an entry for this target, in an existing
# cargo/config, this won't work.
which cargo