Fix build on Windows 10

This commit is contained in:
Adrián Arroyo Calle
2022-05-22 13:18:11 +02:00
parent bef8eb538c
commit 6feb1f8b82
4 changed files with 48 additions and 56 deletions

View File

@@ -102,7 +102,7 @@ strings.
## Installing Scryer Prolog
### Native Install (Unix Only)
### Native Install
First, install the latest stable version of
[Rust](https://www.rust-lang.org/en-US/install.html) using your
@@ -125,9 +125,13 @@ $> cargo run [--release]
The optional `--release` flag will perform various optimizations,
producing a faster executable.
On Windows, Scryer Prolog is easier to build inside a [MSYS2](https://www.msys2.org/)
environment as some crates may require native C compilation. However,
the resulting binary does not need MSYS2 to run. When executing Scryer in a shell, it is recommended to use a more advanced shell than mintty (the default MSYS2 shell). The [Windows Terminal](https://github.com/microsoft/terminal) works correctly.
Scryer Prolog must be built with **Rust 1.57 and up**.
### Docker Install (All Platforms)
### Docker Install
First, install [Docker](https://docs.docker.com/get-docker/) on Linux,
Windows, or Mac.