We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
*bsd
1 parent 47f3a5b commit 2e76015Copy full SHA for 2e76015
src/lib.rs
@@ -2,6 +2,7 @@ use std::env;
2
use std::fs;
3
use std::path::{Path, PathBuf};
4
5
+#[derive(Debug, PartialEq, Eq)]
6
pub enum Version {
7
Lua51,
8
Lua52,
@@ -84,13 +85,7 @@ impl Build {
84
85
_ if target.contains("linux") => {
86
config.define("LUA_USE_LINUX", None);
87
}
- _ if target.contains("freebsd") => {
88
- config.define("LUA_USE_LINUX", None);
89
- }
90
- _ if target.contains("netbsd") => {
91
92
93
- _ if target.contains("openbsd") => {
+ _ if target.ends_with("bsd") => {
94
95
96
_ if target.contains("apple-darwin") => {
0 commit comments