-
-
Notifications
You must be signed in to change notification settings - Fork 774
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
change shebang to be more compatible #2583
Comments
Good catch. I'd merge a PR that changes this |
No problem. Another friction point with the script is that it only works with a rustup cargo, not with native cargo (due to reliance on + cargo +nightly build --manifest-path bin/Cargo.toml --bin serde_derive --profile precompiled -Z unstable-options -Z build-std=std,panic_abort -Z build-std-features=panic_immediate_abort --target x86_64-unknown-linux-musl --out-dir serde_derive
error: no such command: `+nightly`
Cargo does not handle `+toolchain` directives.
Did you mean to invoke `cargo` through `rustup` instead? |
wucke13
added a commit
to wucke13/serde
that referenced
this issue
Aug 20, 2023
This fixes serde-rs#2583.
I think the rustup issue will be fixed by whatever resolves #2575 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This
serde/precompiled/build.sh
Line 1 in 0676673
should be
#!/usr/bin/env bash
in order to maximize compatibility. On many more nieche systems
/bin/bash
does not exist (/bin/sh
would be fine!), but/usr/bin/env
andenv
would be able to findbash
on most if not all systems ifbash
is present at all.The text was updated successfully, but these errors were encountered: