Skip to content

Commit

Permalink
doc: Add instructions about how to install Rust (#4933)
Browse files Browse the repository at this point in the history
Fixes #4885

<small>By submitting this pull request, I confirm that my contribution
is made under the terms of the [MIT
license](https://github.com/dafny-lang/dafny/blob/master/LICENSE.txt).</small>
  • Loading branch information
RustanLeino authored Jan 10, 2024
1 parent 8bbe3a0 commit b38ae87
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ and any user code in one project.

- Dafny targeting Javascript produces Javascript source consistent with Node.js v 16.0.0


### Python

- Dafny targeting Python produces targets Python 3.7 source.
Expand All @@ -67,6 +66,10 @@ with the user's choice of python tool (that compiles at least 3.7).

- Dafny targeting Go produces Go source content consistent with Go 1.18.

### Rust

- Partial and growing support

### C++

C++ has only rudimentary special purpose support at present.
Expand Down Expand Up @@ -237,3 +240,8 @@ To setup Dafny to compile to python3:
To separately compile and run your program for Python:
- `dafny build -t:py MyProgram.dfy`
- `python3 MyProgram-py/MyProgram.py

### Rust

To setup Dafny to compile to Rust:
* Install Rust from https://rustup.rs/

0 comments on commit b38ae87

Please sign in to comment.