diff options
| author | Abhishek Sudhakaran <itzurabhi@gmail.com> | 2021-12-12 03:31:40 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-12 03:31:40 +0530 |
| commit | b9ae04f088803d1df2b704aa5a3f5392ddf53cf6 (patch) | |
| tree | debe2a5892517afe3e7438317bb0277d9ed1de65 /compiler/rustc_codegen_gcc/example/std_example.rs | |
| parent | b8dc6aa673317cf72a8abb9c421f573f2b34b47a (diff) | |
| download | rust-b9ae04f088803d1df2b704aa5a3f5392ddf53cf6.tar.gz rust-b9ae04f088803d1df2b704aa5a3f5392ddf53cf6.zip | |
bootstrap: Change `unwrap()` to `expect()` for `WIX` path
On Windows, `x.py dist` command panics without proper error message if 'WIX' environment variable is not set. This patch changes `Option::unwrap()` to `Option::expect()`.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions
