🐛 Correct error message when trying to build on non-supported targets

This commit is contained in:
Yuji Yamamoto
2019-12-27 11:10:25 +09:00
committed by YAMAMOTO Yuji
parent 0df0a1cccb
commit b23436d1bb

View File

@ -20,7 +20,14 @@
all(target_os = "android", target_arch = "x86_64"),
all(target_os = "android", target_arch = "aarch64"),
)))]
compile_error!("This crate doesn't yet support compiling on operating systems other than FreeBSD, linux and macos and architectures other than x86_64");
compile_error!("This crate doesn't yet support compiling on operating systems and architectures other than these:
- FreeBSD and x86_64
- FreeBSD and AArch64
- macOS and x86_64
- Linux and x86_64
- Linux and AArch64
- Android and x86_64
- Android and AArch64");
extern crate dynasmrt;