From b991f057f44b6c260ce48bdbe24cfba55e554d3f Mon Sep 17 00:00:00 2001 From: Mark Rousskov Date: Tue, 13 Jul 2021 10:46:57 -0400 Subject: [PATCH] Add an example of passing rustflags to docs This avoids confusion with the `{}` brackets being actually necessary, leading to configuring a run in which they are directly passed to rustc. --- docs/bot-usage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/bot-usage.md b/docs/bot-usage.md index e62628ebe..84399e878 100644 --- a/docs/bot-usage.md +++ b/docs/bot-usage.md @@ -148,7 +148,7 @@ Crater allows some configurations to the toolchains used in an experiment. You can specify a toolchain using a rustup name or `branch#sha`, and use the following flags: * `+rustflags={flags}`: sets the `RUSTFLAGS` environment variable to `{flags}` when - building with this toolchain + building with this toolchain, e.g. `+rustflags=-Zverbose` * `+patch={crate_name}={git_repo_url}={branch}`: patches all crates built by this toolchain to resolve the given crate from the given git repository and branch.