rust-cookbook
rust-cookbook copied to clipboard
add "Compile and link statically to an external C library" example
trafficstars
| Crates | cc |
| Section | 8.3 Build Time Tooling |
Use cc crate to compile and link statically to a external/system C library from a build.rs file.
Please note that it will be important to mention that this is a build time crate. Most likely we will dedicate a separate (last) chapter like "build_time.md"
cc https://github.com/rust-lang-nursery/rust-cookbook/issues/236
@budziq I'll do this one next
@carpemb I was curious if this was still in the works? Did you hit a roadblock with this that we might help with?
Hi, can I work on this?