diff --git a/.circleci/config.yml b/.circleci/config.yml index b6b65800ebf..d99ce0f3007 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -167,6 +167,10 @@ jobs: echo "${VERSION}" >> artifacts/version echo "${CIRCLE_TAG}" >> artifacts/git_version cp ./target/release/wasmer ./artifacts/$(./binary-name.sh) + - run: + name: Debug flag checked + command: | + cargo check --features "debug" - persist_to_workspace: root: . paths: diff --git a/Makefile b/Makefile index 0c9a0692d7a..a9de5a0e4db 100644 --- a/Makefile +++ b/Makefile @@ -50,9 +50,6 @@ release: # brew install mingw-w64 cargo build --release -debug-release: - cargo build --release --features debug - debug-release: cargo build --release --features "debug" diff --git a/lib/emscripten/src/syscalls/unix.rs b/lib/emscripten/src/syscalls/unix.rs index 1102b7a5985..ac332571dae 100644 --- a/lib/emscripten/src/syscalls/unix.rs +++ b/lib/emscripten/src/syscalls/unix.rs @@ -282,7 +282,7 @@ pub fn ___syscall102(ctx: &mut Ctx, _which: c_int, mut varargs: VarArgs) -> c_in let _proper_address = address as *const GuestSockaddrIn; debug!( "=> address.sin_family: {:?}, address.sin_port: {:?}, address.sin_addr.s_addr: {:?}", - (*_proper_address).sin_family, (*_proper_address).sin_port, (*_proper_address).sin_addr.s_addr + unsafe { (*_proper_address).sin_family }, unsafe { (*_proper_address).sin_port }, unsafe { (*_proper_address).sin_addr.s_addr } ); let status = unsafe { bind(socket, address, address_len) };