about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide/examples/README
diff options
context:
space:
mode:
authorThe Miri Cronjob Bot <miri@cron.bot>2025-03-02 05:10:56 +0000
committerThe Miri Cronjob Bot <miri@cron.bot>2025-03-02 05:10:56 +0000
commit2cf69dae73533ebee5a310fd6f3dc4b9a8db246b (patch)
tree6d7b4677b28a2ec8d34e61af63f9d2196428ef55 /src/doc/rustc-dev-guide/examples/README
parent33b78f2be1b71b282c952775e98265d177406701 (diff)
parentfe6cf341479c91ef90d8c809aea70193ed42036a (diff)
Merge from rustc
Diffstat (limited to 'src/doc/rustc-dev-guide/examples/README')
-rw-r--r--src/doc/rustc-dev-guide/examples/README5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/examples/README b/src/doc/rustc-dev-guide/examples/README
index ca49dd74db2..05e44673700 100644
--- a/src/doc/rustc-dev-guide/examples/README
+++ b/src/doc/rustc-dev-guide/examples/README
@@ -4,7 +4,10 @@ For each example to compile, you will need to first run the following:
 
 To create an executable:
 
-    rustc rustc-driver-example.rs
+    rustup run nightly rustc rustc-driver-example.rs
+
+You might need to be more specific about the exact nightly version. See the comments at the top of
+the examples for the version they were written for.
 
 To run an executable: