It is documented how to assign the result of addTranslateC() to a const value. But then (obviously) I get a
build.zig:15:11: error: unused local constant
const translate_c = b.addTranslateC(.{
After assigning this, how do I use this to build a shared library?