Make dylib_flag cross-platform

This commit is contained in:
nora 2023-09-23 15:13:55 +02:00
parent 8c8172c55d
commit cf6706ebd6
5 changed files with 42 additions and 44 deletions

12
Cargo.lock generated
View file

@ -101,7 +101,7 @@ dependencies = [
"clap",
"ctrlc",
"genemichaels",
"libc",
"libloading",
"owo-colors",
"proc-macro2",
"quote",
@ -354,6 +354,16 @@ version = "0.2.148"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9cdc71e17332e86d2e1d38c1f99edcb6288ee11b815fb1a4b049eaa2114d369b"
[[package]]
name = "libloading"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d580318f95776505201b28cf98eb1fa5e4be3b689633ba6a3e6cd880ff22d8cb"
dependencies = [
"cfg-if",
"windows-sys",
]
[[package]]
name = "linux-raw-sys"
version = "0.4.7"