You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 3, 2020. It is now read-only.
$ docker run -e PKG_CONFIG_ALLOW_CROSS=1 --rm -v "$(pwd):/root/src" \
-w /root/src philipalldredge/cargo-apk cargo apk build
...
error[E0425]: cannot find value `HOST_TAG` in this scope
--> src/ops/build/util.rs:37:43
|
37 | config.ndk_path.join("prebuild").join(HOST_TAG).join("make")
| ^^^^^^^^ not found in this scope
error[E0425]: cannot find value `HOST_TAG` in this scope
--> src/ops/build/util.rs:47:15
|
47 | .join(HOST_TAG)
| ^^^^^^^^ not found in this scope
error: aborting due to 2 previous errors
Without PKG_CONFIG_ALLOW_CROSS I was getting openssl errors.
Seems like the cfg statements aren't getting hit properly?
What's weird is that when I run this programinside the same docker container it outputs "You are running linux".
sudo docker run --rm -v "$(pwd):/root/src" -w /root/src philipalldredge/cargo-apk cargo run
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm on Arch Linux.
Without
PKG_CONFIG_ALLOW_CROSS
I was getting openssl errors.Seems like the
cfg
statements aren't getting hit properly?What's weird is that when I run this program inside the same docker container it outputs "You are running linux".
The text was updated successfully, but these errors were encountered: