Avoid assertion against default value in crate-type tests
Avoid assertion against default value in crate-type tests

`--crate-type` usually defaults to `lib`, so the original assertion is
somehow unuseful. Change to `cdylib` to make the test more robust.

nipunn1313/cargo,rustyhorde/cargo,rustyhorde/cargo,nipunn1313/cargo,rust-lang/cargo,nipunn1313/cargo,eminence/cargo,eminence/cargo,eminence/cargo,rustyhorde/cargo,rust-lang/cargo,nipunn1313/cargo,rustyhorde/cargo,eminence/cargo,rust-lang/cargo,rust-lang/cargo