Skip to content

Commit

Permalink
Add docs to the README about CARGO_PROFILE (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkonicek authored and malept committed Jun 21, 2018
1 parent ca07a51 commit 9b380eb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,13 @@ repository contains an example of using Thermite with [ruru](https://github.com/
to provide a `String.blank?` speedup extension. While the example uses ruru, this gem should be
usable with any method of integrating Rust and Ruby that you choose.

### Debug / release build

By default Thermite will do a release build of your Rust code. To do a debug build instead,
set the `CARGO_PROFILE` environment variable to `debug`.

For example, you can run `CARGO_PROFILE=debug rake thermite:build`.

### Troubleshooting

Debug statements can be written to a file specified by the `THERMITE_DEBUG_FILENAME` environment
Expand Down

0 comments on commit 9b380eb

Please sign in to comment.