#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

#526 in Build Utils

Download history 22/week @ 2024-09-11 30/week @ 2024-09-18 36/week @ 2024-09-25 21/week @ 2024-10-02 12/week @ 2024-10-09 28/week @ 2024-10-16 28/week @ 2024-10-23 24/week @ 2024-10-30 28/week @ 2024-11-06 6/week @ 2024-11-13 20/week @ 2024-11-20 22/week @ 2024-11-27 28/week @ 2024-12-04 24/week @ 2024-12-11 7/week @ 2024-12-18

61 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

~73KB