Skip to content

Add a short section on ARC to tutorial-tasks - #6752

Closed
ghost wants to merge 1 commit into
incomingfrom
unknown repository
Closed

Add a short section on ARC to tutorial-tasks#6752
ghost wants to merge 1 commit into
incomingfrom
unknown repository

Conversation

@ghost

Copy link
Copy Markdown
  • Add a short section and an example illustrating the use of ARC.
  • Header for the section of Future changed to be more descriptive: "Backgrounding computations: Futures".

bors added a commit that referenced this pull request May 28, 2013
* Add a short section and an example illustrating the use of ARC. * Header for the section of Future changed to be more descriptive: "Backgrounding computations: Futures".
@borsbors closed this May 28, 2013
rust-borsBot pushed a commit that referenced this pull request Jul 21, 2026
…tfmt#6780)
Previously on a stable build (`json` is only supported in `nightly`
builds):
$ cargo fmt --message-format json
Invalid value for `--emit` - using an unstable value without `--unstable-features`
With this change:
$ CFG_RELEASE_CHANNEL=stable cargo make bin-build
$ PATH="./target/debug:$PATH" cargo fmt --message-format json
--message-format json is only supported in nightly builds
This utility formats all bin and lib files of the current crate using rustfmt.
<-- SNIP: the rest of the usage follows -->
This behaviour is similar to how args to `--emit` are handled in
`rustfmt`.
This change also drops displaying `json` as an option to
`--message-format` on stable builds:
$ PATH="./target/debug:$PATH" cargo fmt --help | grep --max-count 1 --after-context 1 message-format
--message-format <message-format>
Specify message-format: short|human
This required rewriting the check for nightly builds (copying from the
one in `src/release_channel.rs`) to be `const` so I could rewrite the
`--message-format` flag's help string.
Issue: #6752
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
6752: Pass `--target` when loading out dirs from check r=jonas-schievink a=jonas-schievink
bors r+
Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
Sign up for freeto 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.

1 participant

@bors