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

Print 'rustc' and 'rustdoc' as the command name for --version #14162

Merged
merged 1 commit into from
May 15, 2014

Conversation

brson
Copy link
Contributor

@brson brson commented May 12, 2014

Instead of just blindly printing arg[0], use a constant string.

Partial fix for #13582

@brson
Copy link
Contributor Author

brson commented May 12, 2014

Dupe of #13816

Instead of just blindly printing arg[0], use a constant string.
Partial fix for rust-lang#13582
alexcrichton added a commit to alexcrichton/rust that referenced this pull request May 15, 2014
Closes rust-lang#14210 (Make Vec.truncate() resilient against failure in Drop)
Closes rust-lang#14206 (Register new snapshots)
Closes rust-lang#14205 (use sched_yield on linux and freebsd)
Closes rust-lang#14204 (Add a crate for missing stubs from libcore)
Closes rust-lang#14201 (Render not_found with an absolute path to the rust stylesheet)
Closes rust-lang#14198 (update valgrind headers)
Closes rust-lang#14174 (Optimize common path of Once::doit)
Closes rust-lang#14162 (Print 'rustc' and 'rustdoc' as the command name for --version)
Closes rust-lang#14145 (Better strict version hash (SVH) computation)
bors added a commit that referenced this pull request May 15, 2014
Instead of just blindly printing arg[0], use a constant string.

Partial fix for #13582
@bors bors closed this May 15, 2014
@bors bors merged commit 67fa90e into rust-lang:master May 15, 2014
@pnkfelix
Copy link
Member

(technically the technique I had suggested would have supported continuing to print args[0]; but its not a big deal, its not like we're dispatching our behavior on the value of args[0]. At least, not yet.)

bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 20, 2023
…-snippet-cap-check, r=Veykril

Conditionally add snippet marker.

Fixes rust-lang#14161.

Heya, I just added the code with some tests, but not sure if it's *the way* to do it -- I didn't refactor existing methods for the `check` test method, but added another calling layer.
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