Is it possible to compile WASM from Rust using C libraries?

How do you make a WASM library? Is that a WASM library compiled as a cdylib?