Merge pull request 'Change target cfg condition to target_env' (#87) from 85_fix-warnings-due-to-removal-of-target-cfg-condition into main
Reviewed-on: LibreTunes/LibreTunes#87
This commit is contained in:
commit
cb0936003c
@ -1,10 +1,10 @@
|
||||
// Needed for building in Docker container
|
||||
// See https://github.com/clux/muslrust?tab=readme-ov-file#diesel-and-pq-builds
|
||||
// See https://github.com/sgrif/pq-sys/issues/25
|
||||
#[cfg(target = "x86_64-unknown-linux-musl")]
|
||||
#[cfg(target_env = "musl")]
|
||||
extern crate openssl;
|
||||
|
||||
#[cfg(target = "x86_64-unknown-linux-musl")]
|
||||
#[cfg(target_env = "musl")]
|
||||
#[macro_use]
|
||||
extern crate diesel;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user