Closed MaulingMonkey closed 1 year ago
This is mostly a matter of using the right build.rs settings. This repository's build.rs contains an example.
Importing firehazard
just for some lousy build.rs println!
s seems a bit much / overkill. I could add a second crate for querying linker setting availability or something? But given the need for vaguely adjacent settings to be copy+pasted to live in .cargo/config.toml
, that seems like overkill - examples should suffice, and I kinda have those already.
Use cases:
user32.dll
.References: