Skip to content
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

chore: Cargo shell script to support +nightly #408

Merged
merged 2 commits into from
Nov 13, 2023

Conversation

sveitser
Copy link
Contributor

This might be more convenient than having a separate devShell for
nightly tasks (which still wouldn't support the +nightly argument).

It works for me to run cargo test and scripts/run_tests.sh.

Not familiar with the repo so don't know if other workflows might break.

This might be more convenient than having a separate devShell for
nightly tasks (which still wouldn't support the `+nightly` argument).

It works for me to run `cargo test` and `scripts/run_tests.sh`.

Not familiar with the repo so don't know if other workflows might break.
@alxiong alxiong changed the title Cargo shell script to support +nightly chore: Cargo shell script to support +nightly Nov 11, 2023
Copy link
Contributor

@alxiong alxiong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this idea!

but I got this error locally:

$ cargo +nightly fmt
env: ‘Fusion.app/Contents/Public:/opt/X11/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/alex/.config/.foundry/bin:/Users/alex/.foundry/bin:/Users/alex/.config/.foundry/bin:/Users/alex/work/jellyfish/target/debug:/Users/alex/work/jellyfish/target/release’: No such file or directory

@sveitser
Copy link
Contributor Author

@alxiong Should work now. Forgot to quote the PATH so it broke with spaces in the PATH.

Copy link
Contributor

@ggutoski ggutoski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's magic!! 🪄

@sveitser sveitser marked this pull request as ready for review November 13, 2023 10:33
@alxiong alxiong merged commit bda4474 into main Nov 13, 2023
3 checks passed
@alxiong alxiong deleted the ma/nightly-rust-dev-shell branch November 13, 2023 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants