more gates, add job for implicit-load feature

Signed-off-by: Ava Hahn <ava@sunnypup.io>
This commit is contained in:
Ava Apples Affine 2023-10-13 09:07:08 -07:00
parent 3e32b222f8
commit e042cd1152
2 changed files with 7 additions and 2 deletions

View file

@ -11,6 +11,11 @@ compile-without-posix-features:
script: script:
- cargo build --no-default-features - cargo build --no-default-features
compile-implicit-load:
stage: build
script:
- cargo build -F implicit-load
compile-release: compile-release:
stage: build stage: build
script: script:

View file

@ -141,8 +141,8 @@ impl SymTable {
* on a call to an undefined function * on a call to an undefined function
* assume a shell command is being run * assume a shell command is being run
*/ */
None if cfg!(feature="implicit-load") #[cfg(feature="implicit-load")]
&& call_func => match self.remove(&POSIX_LOAD_NAME.to_string()) { None if call_func => match self.remove(&POSIX_LOAD_NAME.to_string()) {
Some(s) => { Some(s) => {
name_token = String::from(POSIX_LOAD_NAME); name_token = String::from(POSIX_LOAD_NAME);
/* highly unfortunate circumstance /* highly unfortunate circumstance