diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index afb7bd7..e7bd028 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,6 +11,11 @@ compile-without-posix-features: script: - cargo build --no-default-features +compile-implicit-load: + stage: build + script: + - cargo build -F implicit-load + compile-release: stage: build script: diff --git a/src/sym.rs b/src/sym.rs index e43c5b6..fc28639 100644 --- a/src/sym.rs +++ b/src/sym.rs @@ -141,8 +141,8 @@ impl SymTable { * on a call to an undefined function * assume a shell command is being run */ - None if cfg!(feature="implicit-load") - && call_func => match self.remove(&POSIX_LOAD_NAME.to_string()) { + #[cfg(feature="implicit-load")] + None if call_func => match self.remove(&POSIX_LOAD_NAME.to_string()) { Some(s) => { name_token = String::from(POSIX_LOAD_NAME); /* highly unfortunate circumstance