#dylib #cargo #target-directory #dynamic #copies #test #std

build prefer-dynamic

Copies std and test dynamic libraries into your target directory, for -Cprefer-dynamic and dylib crates

1 unstable release

0.1.2 May 24, 2022
0.1.1 May 10, 2022
0.1.0 May 9, 2022

#511 in Build Utils

Download history 20/week @ 2024-07-28 24/week @ 2024-08-04 199/week @ 2024-08-11 79/week @ 2024-08-18 33/week @ 2024-08-25 28/week @ 2024-09-01 21/week @ 2024-09-08 18/week @ 2024-09-15 41/week @ 2024-09-22 32/week @ 2024-09-29 7/week @ 2024-10-06 12/week @ 2024-10-13 42/week @ 2024-10-20 20/week @ 2024-10-27 35/week @ 2024-11-03 9/week @ 2024-11-10

106 downloads per month
Used in 5 crates (via dexterous_developer_build…)

MIT/Apache

7KB
73 lines

prefer-dynamic

Simple Rust crate that copies the std and test dynamic libraries into the target directory at build time.

This is a convenience intended for programs that make use of dylib crates or compiling with -Cprefer-dynamic.

Usage

Add to your Cargo.toml

[dependencies]
prefer-dynamic = "0"

[dev-dependencies]
prefer-dynamic = { version = "0", features = ["link-test"] }

No runtime deps

~74KB