Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Fixed build warnings (#6664)
Browse files Browse the repository at this point in the history
* Fixed build warnings

* Suppress warning

* Suppress warning for sure
  • Loading branch information
arkpar authored Oct 11, 2017
1 parent e3fa460 commit 690f32c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions dapps/js-glue/src/codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ fn implement_webapp(cx: &ExtCtxt, builder: &aster::AstBuilder, item: &Item, push

let files_impl = quote_item!(cx,
impl $type_name {
#[allow(unused_mut)]
fn files() -> ::std::collections::HashMap<&'static str, File> {
let mut files = ::std::collections::HashMap::new();
$statements
Expand Down
2 changes: 1 addition & 1 deletion util/hash/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
extern crate gcc;

fn main() {
gcc::compile_library("libtinykeccak.a", &["src/tinykeccak.c"]);
gcc::Build::new().file("src/tinykeccak.c").compile("libtinykeccak.a");
}

0 comments on commit 690f32c

Please sign in to comment.