rust-lang / rust

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
98.77k stars 12.77k forks source link

compiletest: add a proper `supports-crate-type: dylib` directive #132309

Open jieyouxu opened 3 weeks ago

jieyouxu commented 3 weeks ago

Apparently needs-dynamic-linking is not equivalent to checking if dylib or cdylib crate types are supported.

Originally posted by @jieyouxu in https://github.com/rust-lang/rust/issues/130860#issuecomment-2376713633

jieyouxu commented 3 weeks ago

Related: #132350