From f9c5bbba6b3ecaac0f16f3268c85cb371e9be7e3 Mon Sep 17 00:00:00 2001 From: Gheorghe Anghelescu Date: Wed, 4 Aug 2021 10:23:27 +0300 Subject: [PATCH] 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`. --- y.rs | 4 ++-- 1 file 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