Bug Description
In delta-rs we have a .cargo/config.toml in the root and .carg/config.toml in our python subcrate.
Both of the following rustflags:
[target.aarch64-apple-darwin]
rustflags = [
"-C", "link-arg=-undefined",
"-C", "link-arg=dynamic_lookup",
]
Running plain maturin develop will invalidate the incremental compilation.
Only if I manually provide the RUSTFLAGS it works:
RUSTFLAGS="-C link-arg=-undefined -C link-arg=dynamic_lookup" maturin develop
Shouldn't maturin use the .cargo/config.toml during maturin develop
Your maturin version (maturin --version)
1.8.2
Your Python version (python -V)
3.11
Your pip version (pip -V)
UV is used
What bindings you're using
pyo3
Does cargo build work?
If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash /)?
Steps to Reproduce
- Create crate with above config
- Use VSCode with Rust Analyzer (RA)
- Let RA run Cargo check
- Now run maturin develop
- Change .rs file and save which triggers cargo check
- Run maturin develop again (notice it starts from beginning)
Bug Description
In delta-rs we have a .cargo/config.toml in the root and .carg/config.toml in our python subcrate.
Both of the following rustflags:
Running plain
maturin developwill invalidate the incremental compilation.Only if I manually provide the RUSTFLAGS it works:
RUSTFLAGS="-C link-arg=-undefined -C link-arg=dynamic_lookup" maturin developShouldn't maturin use the .cargo/config.toml during
maturin developYour maturin version (
maturin --version)1.8.2
Your Python version (
python -V)3.11
Your pip version (
pip -V)UV is used
What bindings you're using
pyo3
Does
cargo buildwork?If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash
/)?Steps to Reproduce