Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Cargo Meets Autotools - Distributing Rust Dynamic Libraries

Rust via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore a 23-minute conference talk from RustCon Asia 2019 that delves into integrating Cargo with Autotools for building and distributing dynamic libraries written in Rust. Learn how to overcome the limitations of cargo install for cdylib dynamic libraries by implementing a build infrastructure that combines the Rust toolchain with Autotools. Discover the process of creating a source tarball that allows users to easily build and install Rust-based dynamic libraries using familiar ./configure && make && make install commands. Gain insights into the speaker's experiences and find valuable information for the Rust community on topics such as Cargo.toml configuration, using libtool, setting options in configure.ac, and generating Windows installers with CPack.

Syllabus

Intro
OUTLINE OF THIS TALK
BACKGROUND
WHY DON'T YOU USE cargo install?
CARGO.TOML: A TALE OF TWO LIBS
SRC/INCLUDE.AM: LIBTOOL TO HELP
CONFIGURE.AC: SETTING OPTIONS Pass options to cargo and headers
BONUS: WINDOWS INSTALLER Generate an NSIS installer with CPack

Taught by

Rust

Reviews

Start your review of Cargo Meets Autotools - Distributing Rust Dynamic Libraries

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.