solidus 0.1.0

A safe Rust library for writing Ruby extensions with automatic stack pinning
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Build script for solidus.
//!
//! This uses rb-sys-env to configure Ruby-related build settings.

fn main() {
    // Re-run if Ruby configuration changes
    println!("cargo::rerun-if-env-changed=RUBY_ROOT");
    println!("cargo::rerun-if-env-changed=RUBY_VERSION");

    // rb-sys-env provides Ruby configuration at build time
    // The actual linking is handled by rb-sys

    // Activate rb-sys-env for test builds to support rb-sys-test-helpers
    let _ = rb_sys_env::activate();
}