static linking is fine and there's no way around it with languages like Rust and Go. what you're thinking of is bundling all your dependencies, and even that is allowed if necessary and if you do it correctly.
the problem isn't getting packages with vendored deps working (that's quite easy), the problem is all the auditing and integration work that you'd need to do for separately packages libraries anyway.