We can’t cross compile because plugins and gitroot share model of plugins in libs. But when golang compiler see the import of “C” think it’s need native call (weel he’s right but it’s for wasm not go). Tree shaking in golang is made by package, so moving model of plugins should be enought.