Is your feature request related to a problem or challenge?
datafusion is a "swiss army knife" kind of library - it's large and developing against it means ~13 second link times every time you re-run tests, even with modern linkers like mold.
I recently tried the approach described in this blog post - wrapping datafusion into a dynamic library. This reduced my incremental test build times by ~10 seconds!
Describe the solution you'd like
Bevy project (also a very large library) now offer a feature flag to link it dynamically.
Specifying crate-type = ["rlib", "dylib"] might also be enough to let users easily link datafusion dynamically in their dev builds using RUSTFLAGS="-C prefer-dynamic".
It may iterations speeds for datafusion's own development.
Describe alternatives you've considered
No response
Additional context
No response
Is your feature request related to a problem or challenge?
datafusionis a "swiss army knife" kind of library - it's large and developing against it means ~13 second link times every time you re-run tests, even with modern linkers likemold.I recently tried the approach described in this blog post - wrapping
datafusioninto a dynamic library. This reduced my incremental test build times by ~10 seconds!Describe the solution you'd like
Bevy project (also a very large library) now offer a feature flag to link it dynamically.
Specifying
crate-type = ["rlib", "dylib"]might also be enough to let users easily linkdatafusiondynamically in theirdevbuilds usingRUSTFLAGS="-C prefer-dynamic".It may iterations speeds for
datafusion's own development.Describe alternatives you've considered
No response
Additional context
No response