Skip to content

Commit

Permalink
Update env var
Browse files Browse the repository at this point in the history
  • Loading branch information
fmoletta authored Jun 10, 2024
1 parent fb67b94 commit 80b71ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Afterwards, compiling with the feature flag `cairo-native` will enable native ex
Currently cairo-native with AOT needs a runtime library in a known place. For this you need to compile the [cairo-native-runtime](https://github.com/lambdaclass/cairo_native/tree/main/runtime) crate and point the following environment variable to a folder containing the dynamic library. The path **must** be an absolute path.

```bash
CAIRO_NATIVE_RUNTIME_LIBRARY=/absolute/path/to/cairo-native/target/release/
CAIRO_NATIVE_RUNTIME_LIBRARY=/absolute/path/to/cairo-native/target/release/libcairo_native_runtime.a
```

If you don't do this you will get a linker error when using AOT.
Expand Down

0 comments on commit 80b71ee

Please sign in to comment.