Example of statically compiling an external C library.
To run:
brew install snappy
cargo build -v # verify the additional compiler commands
otool -L target/snappit # verify that snappy isn't dynamically linked
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign up| Type | Name | Latest commit message | Commit time |
|---|---|---|---|
| Failed to load latest commit information. | |||
|
|
src | ||
|
|
.gitignore | ||
|
|
Cargo.lock | ||
|
|
Cargo.toml | ||
|
|
Readme.md | ||
|
|
build.rs | ||
Example of statically compiling an external C library.
To run:
brew install snappy
cargo build -v # verify the additional compiler commands
otool -L target/snappit # verify that snappy isn't dynamically linked