Luca Barbato
Luca Barbato
even with the feature on, ToSchema is not really implemented for the types, so ```rust #[derive(ToSchema)] struct S { t: T } type DS = S; ``` would fail.
> I 2nd `toml-cfg` but it seems that it hasn't been updated for 2 years. I had a look and tried to clean it up, I second that it is...
Probably would be good to provide feedback on [this pre-rfc](https://internals.rust-lang.org/t/pre-rfc-mutually-excusive-global-features/19618). toml-cfg as-is has some shortcomings since it breaks once --target-dir is declared.
How complex would it be needed? Conceptually it would be similar [figment](https://docs.rs/figment/latest/figment/) but at compile time, so the proc_macro might reuse the serde notation. Ideally the same syn code could...
to recap, the idea is to have an `xtask` or such that updates a `.cargo/config.toml` `[env]` section? Then the entries can follow usual pattern for env overrides as seen in...
So far I covered the low hanging fruits.
Even if it is partial it already helped me to find errors and fix problems.
Doesn't look right. Where is `libintl.so.8` and why it is needed?
The build.rs for libbpf uses `LD_LIBRARY_PATH` https://github.com/libbpf/libbpf-sys/blob/master/build.rs#L188C36-L188C51
you may try your luck using `RUSTFLAGS` for that purpose. I guess we could add those search paths in a central config.toml if it solves your problem.