diff options
| author | KyleMiles <krm504@nyu.edu> | 2021-06-28 22:13:43 -0400 |
|---|---|---|
| committer | KyleMiles <krm504@nyu.edu> | 2021-06-29 00:26:33 -0400 |
| commit | 2c344cf7a77031021e346fd8649de2b7715b5c45 (patch) | |
| tree | fc9b48db5748231aed4e05128d38ab649717a102 /rust/examples/template/README.md | |
| parent | 58e515b3bfa3a96e4934b8a625bb6e51399057ec (diff) | |
Resolves #2521; Rust API Linking Errors
Diffstat (limited to 'rust/examples/template/README.md')
| -rw-r--r-- | rust/examples/template/README.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/rust/examples/template/README.md b/rust/examples/template/README.md new file mode 100644 index 00000000..f10f89c8 --- /dev/null +++ b/rust/examples/template/README.md @@ -0,0 +1,17 @@ +[The only official method of providing linker arguments to a crate is through that crate's `build.rs`](https://github.com/rust-lang/cargo/issues/9554), thus this template. + +Please see `Cargo.toml` for further configuration options. + +### Plugins + +Enable +``` +[lib] +crate-type = ["cdylib"] +``` +in Cargo.toml` + +### Standalone executables + +All standalone executables should call both `binaryninja::headless::init()` and `binaryninja::headless::shutdown()`. + |
