The library name defaults to its package name, but it can be different. For example: - package name: cairo-sys-rs - library name: cairo-sys - dependency name: ffipull/13815/head
parent
afd89440aa
commit
ed62a975b2
6 changed files with 21 additions and 2 deletions
@ -0,0 +1,2 @@ |
||||
[wrap-file] |
||||
method = cargo |
@ -0,0 +1,7 @@ |
||||
[package] |
||||
name = "libname" |
||||
version = "1" |
||||
|
||||
[lib] |
||||
name="libothername" |
||||
path = "lib.rs" |
@ -0,0 +1,3 @@ |
||||
pub fn stuff() -> i32 { |
||||
42 |
||||
} |
Loading…
Reference in new issue