mirror of
https://github.com/italicsjenga/ash-molten.git
synced 2024-12-23 13:21:30 +11:00
Change target to target_os
This commit is contained in:
parent
c80d28ab9b
commit
0bbc0436e8
2
build.rs
2
build.rs
|
@ -16,7 +16,7 @@ fn is_external_enabled() -> bool {
|
||||||
.is_some()
|
.is_some()
|
||||||
}
|
}
|
||||||
fn main() {
|
fn main() {
|
||||||
if !(cfg!(target = "macos") || cfg!(target = "ios")) {
|
if !(cfg!(target_os = "macos") || cfg!(target_os = "ios")) {
|
||||||
panic!("ash-molten can only be built on macOS or of iOS");
|
panic!("ash-molten can only be built on macOS or of iOS");
|
||||||
}
|
}
|
||||||
// The 'external' feature was not enabled. Molten will be built automaticaly.
|
// The 'external' feature was not enabled. Molten will be built automaticaly.
|
||||||
|
|
Loading…
Reference in a new issue