about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGheorghe Anghelescu <gheoan@outlook.com>2021-08-04 10:23:27 +0300
committerGitHub <noreply@github.com>2021-08-04 09:23:27 +0200
commitf9c5bbba6b3ecaac0f16f3268c85cb371e9be7e3 (patch)
treee47f82678349a4e771f461164f2cc493bf1b019f
parent84961ef06acbb3e28354aa581454efce3972c0a2 (diff)
downloadrust-f9c5bbba6b3ecaac0f16f3268c85cb371e9be7e3.tar.gz
rust-f9c5bbba6b3ecaac0f16f3268c85cb371e9be7e3.zip
change instructions for manually compiling y.rs (#1191)
This prevents an error on windows where the `build_sysroot` function was trying to delete `y.exe`.
-rwxr-xr-xy.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/y.rs b/y.rs
index 43937588b48..26605003c42 100755
--- a/y.rs
+++ b/y.rs
@@ -15,8 +15,8 @@ exec ${0/.rs/.bin} $@
 //! for example:
 //!
 //! ```shell
-//! $ rustc y.rs -o build/y.bin
-//! $ build/y.bin
+//! $ rustc y.rs -o y.bin
+//! $ ./y.bin
 //! ```
 //!
 //! # Naming