Skip to content

Commit

Permalink
move check with debug build higher in CI, fix bug in debug macro
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark McCaskey committed May 21, 2019
1 parent e989a86 commit 8857e6d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,10 @@ jobs:
export LLVM_SYS_70_PREFIX="`pwd`/clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04/"
make test-emscripten-clif
make test-emscripten-llvm
- run:
name: Debug flag checked
command: |
cargo check --features "debug"
- run:
name: Release Build
command: |
Expand All @@ -189,10 +193,6 @@ jobs:
echo "${CIRCLE_TAG}" >> artifacts/git_version
make build-install
cp ./wasmer.tar.gz ./artifacts/$(./binary-name.sh)
- run:
name: Debug flag checked
command: |
cargo check --features "debug"
- persist_to_workspace:
root: .
paths:
Expand Down
2 changes: 1 addition & 1 deletion lib/wasi/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ impl WasiFs {
}
debug!("wasi::fs::mapped_dirs");
for (alias, real_dir) in mapped_dirs {
debug!("Attempting to open {:?} at {}", dest_dir, alias);
debug!("Attempting to open {:?} at {}", real_dir, alias);
// TODO: think about this
let default_rights = 0x1FFFFFFF; // all rights
let cur_dir_metadata = real_dir
Expand Down

0 comments on commit 8857e6d

Please sign in to comment.