Elektrine lite

← Feed

@kristoff@hachyderm.io

Post #1215540

2026-03-07 18:06 UTC

@SonnyBonds correction, since in your case wgpu_lib is the upstream project, then you would have to do something along the lines of `wgpu_dep.builder.dependencies("wgpu_lib", .{})`. This is the super manual version where you reach for your dep's dependenncies. There are less invasive methods where you expose a path to consumers (similarly to how you can expose modules and artifacts) but at this point your method seems preferable (if you want only the header files, if you want the full lib you can just linkLibrary).

Replies (1)

  • @kristoff linkLibrary works and definitely feels like the Way It's Meant To Be Played. I feel like I've tried that already, but the stars probably were misaligned some other way then. Thanks for the pointers! Feels like things are like they're supposed to be now.

    Open ##1215541