wonder if that could be patched/added as a feature flag? I guess you might be able to change the working directory somehow via the `build.rs`? Or at least you get the `CARGO_MANIFEST_DIR` which you could use for some *shenanigans*. Having looked it up now, sadly there is no hook for making `cargo` *change* its working directory tho, or to make `cargo` source a specified `config.toml`. But at least the original problem of setting the linker flags is solvable via the `build.rs` with [`cargo::rustc-link-arg=FLAG`](https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-arg)