Not generate metadata if compile_as_dependency is true (#811)

20 jobs for master in 8 minutes and 29 seconds (queued for 2 seconds)
Name Stage Failure
failed
clippy-wasm Workspace
No job log