Skip to content

Commit

Permalink
add note on cargo -vv to display build script warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
xorpse committed Dec 19, 2024
1 parent e1689b9 commit 24cc4a8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,17 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
}
```
Note that for `idalib`-based tools being installed via
[crates.io](https://crates.io), e.g.,
[rhabdomancer](https://github.com/0xdea/rhabdomancer), the warning will only be
visible when installing with `cargo -vv`, as explained in [the cargo documentation](https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargo-warning):
> The warning instruction tells Cargo to display a warning after the build
> script has finished running. Warnings are only shown for path dependencies
> (that is, those you’re working on locally), so for example warnings printed
> out in crates.io crates are not emitted by default. The -vv “very verbose”
> flag may be used to have Cargo display warnings for all crates.
## Extending idalib
To expose unimplemented IDA SDK functionality, modify the `idasdk-sys` crate,
Expand Down

0 comments on commit 24cc4a8

Please sign in to comment.