Skip to content

Commit f9c5bbb

Browse files
authored
change instructions for manually compiling y.rs (rust-lang#1191)
This prevents an error on windows where the `build_sysroot` function was trying to delete `y.exe`.
1 parent 84961ef commit f9c5bbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

y.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ exec ${0/.rs/.bin} $@
1515
//! for example:
1616
//!
1717
//! ```shell
18-
//! $ rustc y.rs -o build/y.bin
19-
//! $ build/y.bin
18+
//! $ rustc y.rs -o y.bin
19+
//! $ ./y.bin
2020
//! ```
2121
//!
2222
//! # Naming

0 commit comments

Comments
 (0)