Cargo meets Autotools
summary
Shows how to build and distribute a Rust cdylib (Rust 1.10+ dynamic library for C/FFI) using Autotools (and mentions CMake), solving the gap where cargo install doesn’t handle cdylib. Describes integrating the Rust toolchain with a traditional ./configure && make && make install workflow so users can build and install the library from a source tarball.
AI-written summary · about
chapters (8)
- 0:00Intro
- 2:28OUTLINE OF THIS TALK
- 3:22BACKGROUND
- 8:52WHY DON'T YOU USE cargo install?
- 11:00CARGO.TOML: A TALE OF TWO LIBS
- 13:57SRC/INCLUDE.AM: LIBTOOL TO HELP
- 15:32CONFIGURE.AC: SETTING OPTIONS Pass options to cargo and headers
- 18:49BONUS: WINDOWS INSTALLER Generate an NSIS installer with CPack
related talks
16mCargo, or how to extend Rust tooling to infinity!
08mLightning Talk: C++ and Rust Bindings - Mixing It Best With CMake
21m"What Happens When You Run Cargo Build?"
25mRust and C++
53mC++/Rust Interop: A Practical Guide to Bridging the Gap Between C++ and Rust
19mBridging Worlds: Using Rust Build Scripts to Leverage Existing Build Infrastructure
52mBuilding Bridges: C++ Interop, Foreign Function Interfaces & ABI
25mUnlocking the full potential of Cargo extensions in Rust development
