Call out to binutils' dlltool for raw-dylib on windows-gnu platforms.
This commit is contained in:
parent
4961b107f2
commit
0cf7fd1208
24 changed files with 252 additions and 113 deletions
|
@ -274,11 +274,6 @@ impl Collector<'tcx> {
|
|||
span,
|
||||
"`#[link(...)]` with `kind = \"raw-dylib\"` only supported on Windows",
|
||||
);
|
||||
} else if !self.tcx.sess.target.options.is_like_msvc {
|
||||
self.tcx.sess.span_warn(
|
||||
span,
|
||||
"`#[link(...)]` with `kind = \"raw-dylib\"` not supported on windows-gnu",
|
||||
);
|
||||
}
|
||||
|
||||
if lib_name.as_str().contains('\0') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue