Skip to content
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.

Commit

Permalink
lint debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
thedavidmeister committed Dec 31, 2018
1 parent 7f3d754 commit dad1834
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
17 changes: 1 addition & 16 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ let
''
export TEST_PATH=${test-path}/;
${nixpkgs.lib.concatMapStrings (path: build-wasm path) wasm-paths}
cargo test -p ${test-p} --release --target-dir "$HC_TARGET_PREFIX""$TEST_PATH"target -- --nocapture;
cargo test -p ${test-p} --release --target-dir "$HC_TARGET_PREFIX""$TEST_PATH"target;
'';
hc-test-hdk = nixpkgs.writeShellScriptBin "hc-test-hdk" "${test "hdk" "hdk-rust" [ "wasm-test" ]}";
hc-test-wasm-utils = nixpkgs.writeShellScriptBin "hc-test-wasm-utils" "${test "holochain_wasm_utils" "wasm_utils" [ "wasm-test/integration-test" ]}";
Expand Down Expand Up @@ -99,20 +99,6 @@ let
;
'';

flush = nixpkgs.writeShellScriptBin "flush"
''
rm -rf target
rm -rf .cargo
rm -rf **/target
rm -rf **/.cargo
rm -rf **/**/target
rm -rf **/**/.cargo
rm -rf **/**/**/target
rm -rf **/**/**/.cargo
rm -rf **/**/**/**/target
rm -rf **/**/**/**/.cargo
'';

in
with nixpkgs;
stdenv.mkDerivation rec {
Expand Down Expand Up @@ -172,7 +158,6 @@ stdenv.mkDerivation rec {
hc-test-core-types
hc-test-net
hc-test-net-ipc
flush
];

# https://github.com/rust-unofficial/patterns/blob/master/anti_patterns/deny-warnings.md
Expand Down
1 change: 0 additions & 1 deletion test_utils/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ use wabt::Wat2Wasm;

/// Load WASM from filesystem
pub fn create_wasm_from_file(fname: &str) -> Vec<u8> {
println!("Creating wasm from {}", fname);
let mut file = File::open(fname).unwrap();
let mut buf = Vec::new();
file.read_to_end(&mut buf).unwrap();
Expand Down

0 comments on commit dad1834

Please sign in to comment.