-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
docs: add missing argument to Rustup Cargo workaround #14954
Merged
weihanglo
merged 1 commit into
rust-lang:master
from
Rustin170506:rustin-patch-rustup-workaround
Dec 18, 2024
Merged
docs: add missing argument to Rustup Cargo workaround #14954
weihanglo
merged 1 commit into
rust-lang:master
from
Rustin170506:rustin-patch-rustup-workaround
Dec 18, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BTW, using |
weihanglo
reviewed
Dec 18, 2024
The command is just missing an argument. It's supposed to be EDIT: jinx! |
Signed-off-by: Rustin170506 <[email protected]>
23e390a
to
43e1527
Compare
Tested locally: ~/code/rs-scripts via 🦀 v1.85.0-nightly
❯ rustup run nightly /Volumes/t7/code/cargo/target/debug/cargo run --manifest-path sql2.rs -Zscript
warning: `package.edition` is unspecified, defaulting to `2024`
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.43s
Running `/Users/rustin/.cargo/target/23/4247500de2e993/debug/sql2`
error: the following required arguments were not provided:
--database-url <DATABASE_URL>
Usage: sql2 --database-url <DATABASE_URL>
For more information, try '--help'. |
Also learned a new word! 😆 Thank you all! |
weihanglo
approved these changes
Dec 18, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Dec 21, 2024
Update cargo 10 commits in 99dff6d77db779716dda9ca3b29c26addd02c1be..652623b779c88fe44afede28bf7f1c9c07812511 2024-12-18 00:55:17 +0000 to 2024-12-20 15:44:42 +0000 - fix(package): use relpath to cwd for vcs dirtiness report (rust-lang/cargo#14970) - Enable triagebot merge conflict notifications (rust-lang/cargo#14972) - fixed the error message for a user to open the crate (rust-lang/cargo#14969) - fix(package): show dirty filepaths relative to git workdir (rust-lang/cargo#14968) - Add the `test` cfg as a well known cfg before of compiler change (rust-lang/cargo#14963) - refactor(cargo-package): let-else to flatten code (rust-lang/cargo#14959) - fix(cargo-package): add more traces (rust-lang/cargo#14960) - Do not hash absolute sysroot path into stdlib crates metadata. (rust-lang/cargo#14951) - docs: add missing argument to Rustup Cargo workaround (rust-lang/cargo#14954) - fix(cargo-rustc): stabilize higher precedence trailing flags (rust-lang/cargo#14900)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-documenting-cargo-itself
Area: Cargo's documentation
S-waiting-on-review
Status: Awaiting review from the assignee but also interested parties.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR try to resolve?
Just added the missing argument to execute this command.