diff --git a/text/1721-crt-static.md b/text/1721-crt-static.md index 0416585657d..bb3637509c2 100644 --- a/text/1721-crt-static.md +++ b/text/1721-crt-static.md @@ -259,7 +259,8 @@ Finally, an example of compiling for MSVC and linking statically to the C runtime would look like: ``` -RUSTFLAGS='-C target-feature=+crt-static' cargo build --target x86_64-pc-windows-msvc +set RUSTFLAGS=-C target-feature=+crt-static +cargo build --target x86_64-pc-windows-msvc ``` and similarly, compiling for musl but linking dynamically to the C runtime would