mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-09-06 17:49:49 +00:00
Fix Windows linkage (#445)
This commit is contained in:
parent
d81404eb70
commit
4ffa669cce
2 changed files with 1209 additions and 1209 deletions
2416
ext/rocblas-sys/src/lib.rs
vendored
2416
ext/rocblas-sys/src/lib.rs
vendored
File diff suppressed because it is too large
Load diff
|
@ -958,7 +958,7 @@ fn generate_rocblas(output: &PathBuf, path: &[&str]) {
|
||||||
Item::Type(type_) => converter.get_type(type_).map(Item::Type),
|
Item::Type(type_) => converter.get_type(type_).map(Item::Type),
|
||||||
Item::ForeignMod(mut extern_) => {
|
Item::ForeignMod(mut extern_) => {
|
||||||
extern_.attrs.push(
|
extern_.attrs.push(
|
||||||
parse_quote!(#[cfg_attr(windows, link = "rocblas", kind = "raw-dylib")]),
|
parse_quote!(#[cfg_attr(windows, link(name = "rocblas", kind = "raw-dylib"))]),
|
||||||
);
|
);
|
||||||
Some(Item::ForeignMod(extern_))
|
Some(Item::ForeignMod(extern_))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue