-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue running the trust install script with the latest version of cross #130
Comments
I can at least answer the first part:
happens because the latest cross release doesn't have that |
I'm running into this problem as well. |
@cantino I wrote a near drop-in replacement install script that will check for https://github.com/rossmacarthur/install curl -LSfs https://rossmacarthur.github.io/install/crate.sh \
| bash -s -- --repo "japaric/cross" --to ~/.cargo/bin |
@rossmacarthur Appreciated! But I think what I need is an updated version of trust & cross that compiles for M1 Macs. Edit: unless I'm misunderstanding what you're saying. I'm using trust to build my binary in CI. |
It seems that default detection of the latest tag just doesn't work: if [ -z $tag ]; then
tag=$(curl -s "$url/latest" | cut -d'"' -f2 | rev | cut -d'/' -f1 | rev)
say_err "Tag: latest ($tag)"
else
say_err "Tag: $tag"
fi In your log it outputs:
When it should be:
The workaround here would be to detect latest version correctly, but manually: curl -LSfs https://japaric.github.io/trust/install.sh | \
sh -s -- --git japaric/cross \
--tag $(curl -s https://api.github.com/repos/japaric/cross/releases/latest \
| jq -r '.tag_name') |
Hi there. I wonder if you might be able to help me?
I've noticed the following failure on Travis Linux builds when trying to install the binary release:
It looks to me like the
install.sh
script might be incompatible with the latest tag of cross because specifying the previous tag works:We also target mac OS and it looks like it has a similar issue:
Do you have any ideas what the problem might be here? I'm afraid I'm a bit of a Rust newbie so I must admit I'm not sure what to look for here. Let me know if I can get anything else to help with this, or if I should actually report this on this Cross project?
Thanks very much,
Dean
The text was updated successfully, but these errors were encountered: