#dylib #cargo #target-directory #dynamic #test #copies #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

#504 in Build Utils

Download history 5/week @ 2024-03-14 8/week @ 2024-03-21 33/week @ 2024-03-28 10/week @ 2024-04-04 24/week @ 2024-04-11 43/week @ 2024-04-18 32/week @ 2024-04-25 2/week @ 2024-05-09 33/week @ 2024-05-16 27/week @ 2024-05-23 45/week @ 2024-05-30 8/week @ 2024-06-06 13/week @ 2024-06-13 10/week @ 2024-06-20 55/week @ 2024-06-27

86 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

~79KB