diff options
| author | Mason Reed <mason@vector35.com> | 2025-01-25 15:41:29 -0500 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2025-01-25 15:41:29 -0500 |
| commit | e19a72a20d5cb35d6f3873f308a3a98d7046d762 (patch) | |
| tree | 10abaa9bdee57ab6a3dee67b0a972a388725cefe /Cargo.toml | |
| parent | 26ed2cdfb13591c63a52e978ead5eae0b6acb0c4 (diff) | |
Fix statically linking PDB import plugin for demo builds
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -16,6 +16,7 @@ members = [ "plugins/dwarf/shared", "plugins/idb_import", "plugins/pdb-ng", + "plugins/pdb-ng/demo", "plugins/warp" ] @@ -24,5 +25,15 @@ binaryninja = { path = "rust" } binaryninjacore-sys = { path = "rust/binaryninjacore-sys" } [profile.release] -lto = true +lto = "thin" debug = "full" + +# Disable LTO on demo builds, it will export `rust_eh_personality` +[profile.release-demo] +inherits = "release" +lto = false + +# Disable LTO on demo builds, it will export `rust_eh_personality` +[profile.dev-demo] +inherits = "dev" +lto = false
\ No newline at end of file |
