| 14 Jul 2025 |
QuadRadical (Ping) | i can test your pr with this to see if it fixes maybe, alyssa | 13:53:13 |
Alyssa Ross | There is no "Rust hook" | 13:53:16 |
Alyssa Ross | It would have to be the Cargo hook | 13:53:24 |
Alyssa Ross | And I think that makes less sense than the pkg-config one | 13:53:32 |
K900 | We could add a hook | 13:53:34 |
Alyssa Ross | You might not be using Cargo, but you'll definitely be using pkg-config. | 13:53:38 |
emily | is there any convention that non-Rust packages follow | 13:54:53 |
emily | like HOST_PKG_CONFIG or whatever | 13:54:59 |
emily | even vaguely | 13:55:02 |
Alyssa Ross | I think it's just to run pkg-config. | 13:55:12 |
emily | I guess they just do target prefixing? | 13:55:13 |
Alyssa Ross | $PKG_CONFIG for host, pkg-config for build. | 13:55:24 |
emily | wow, wtf. gross | 13:56:01 |
K900 | see even pkg-config hates target | 13:56:06 |
emily | we could accommodate this in https://docs.rs/pkg-config/latest/src/pkg_config/lib.rs.html#638 | 13:56:15 |
emily | maybe. | 13:56:26 |
emily | actually not in that function. but in a nearby one | 13:56:29 |
K900 | But then you'd have to update pkg-config in every Rust package | 13:56:48 |
dramforever | just to add to the mess linux uses HOSTPKG_CONFIG | 13:56:57 |
Alyssa Ross | We could also just set the existing variables, in the existing pkg-config hook… | 13:57:04 |
K900 | Wouldn't we have to pull in cross pkg-configs into the hook then | 13:57:30 |
QuadRadical (Ping) | im testing alyssas pr rn | 13:57:56 |
QuadRadical (Ping) | iti seems fairly reasonable to do if it works | 13:58:07 |