Skip to content

Commit b1d6c53

Browse files
authored
Update README.md: explain how to resolve error[E0658]: use of unstable library feature 'bool_to_option
I have found a compile error in my windows serve 2020. This is it's details: error[E0658]: use of unstable library feature 'bool_to_option' --> common\src\refcount.rs:47:63 | 47 | .fetch_update(AcqRel, Acquire, |prev| (prev != 0).then_some(prev + 1)) | ^^^^^^^^^ | = note: see issue #80967 <rust-lang/rust#80967> for more information For more information about this error, try `rustc --explain E0658`. error: could not compile `rustpython-common` due to previous error warning: build failed, waiting for other jobs to finish... error: build failed
1 parent 30aeb8b commit b1d6c53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ Or use the interactive shell:
3939
>>>>> 2+2
4040
4
4141

42-
NOTE: For windows users, please set `RUSTPYTHONPATH` environment variable as `Lib` path in project directory.
43-
(e.g. When RustPython directory is `C:\RustPython`, set `RUSTPYTHONPATH` as `C:\RustPython\Lib`)
42+
> Note: For windows users, please set `RUSTPYTHONPATH` environment variable as `Lib` path in project directory.
43+
(e.g. When RustPython directory is `C:\RustPython`, set `RUSTPYTHONPATH` as `C:\RustPython\Lib`). If the compile error E0658("use of unstable library feature") happend, please set your Rust version into beta/nightly(e.g. `rustup override set beta`).
4444

4545
You can also install and run RustPython with the following:
4646

0 commit comments

Comments
 (0)