rust-cookbook icon indicating copy to clipboard operation
rust-cookbook copied to clipboard

add "Compile and link statically to an external C library" example

Open budziq opened this issue 8 years ago • 3 comments
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 avatar Sep 25 '17 22:09 budziq

@budziq I'll do this one next

zimurgh avatar Oct 05 '17 13:10 zimurgh

@carpemb I was curious if this was still in the works? Did you hit a roadblock with this that we might help with?

AndyGauge avatar Apr 24 '18 17:04 AndyGauge

Hi, can I work on this?

MickyG03 avatar Jul 12 '23 11:07 MickyG03