1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-10 21:23:56 +02:00

Make libnixrust a dynamic library

This is a hack to fix the build on macOS, which was failing because
libnixrust.a contains compiler builtins that clash with
libclang_rt.osx.a. There's probably a better solution...

https://hydra.nixos.org/build/107473280
This commit is contained in:
Eelco Dolstra 2019-11-29 18:27:40 +01:00
parent 895ce1bb6c
commit 39954a9586
2 changed files with 21 additions and 7 deletions

View file

@ -6,7 +6,7 @@ edition = "2018"
[lib]
name = "nixrust"
crate-type = ["staticlib"]
crate-type = ["cdylib"]
[dependencies]
tar = "0.4"