On Sat, Oct 12, 2024, 09:41 Miguel Ojeda <miguel.ojeda.sandonis@xxxxxxxxx> wrote: > > In other words, it sounds to me like the solution here is to simply > provide a variable with the current name as the default, and let > out-of-tree override that if they need, rather than query `rustc`. In order for this to be reasonably maintainable we'd want the variable to be something like DYLIB_SUFFIX so that we don't have to revisit this if macros are ever provided by more than one crate (or worse, have to provide N variables). If this is the preferred path, I can rework this patch in that direction. Tamir