Browse Source

compile

pull/2/head
Johannes Schickling 10 years ago
parent
commit
d83f9da9d2
  1. 10
      rust/README.md

10
rust/README.md

@ -10,9 +10,15 @@ $ docker run --rm -it -v $(pwd):/source schickling/rust
Mount your local source folder to the container and compile & run code inside.
### Environment variables
#### Compiling code
#### `USER`
```sh
$ rustc hello-world.rs
$ ./hello-world
> Hello World!
```
#### Environment variables
The `$USER` environment variable can be specified, which is used by `cargo`. The default is `root`.

Loading…
Cancel
Save