Skip to content

Instantly share code, notes, and snippets.

@hugo-dc
Created February 27, 2020 15:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hugo-dc/6e14868d0d02cfa7a3aa2f5f2b1e6191 to your computer and use it in GitHub Desktop.
Save hugo-dc/6e14868d0d02cfa7a3aa2f5f2b1e6191 to your computer and use it in GitHub Desktop.
--- stderr
/root/.cargo/registry/src/github.com-1ecc6299db9ec823/wabt-sys-0.4.0/wabt/src/lexer-source.cc: In member function 'virtual std::unique_ptr<wabt::LexerSource> wabt::LexerSourceFile::Clone()':
/root/.cargo/registry/src/github.com-1ecc6299db9ec823/wabt-sys-0.4.0/wabt/src/lexer-source.cc:41:19: error: redundant move in return statement [-Werror=redundant-move]
41 | return std::move(result);
| ~~~~~~~~~^~~~~~~~
/root/.cargo/registry/src/github.com-1ecc6299db9ec823/wabt-sys-0.4.0/wabt/src/lexer-source.cc:41:19: note: remove 'std::move' call
cc1plus: all warnings being treated as errors
make[2]: *** [CMakeFiles/libwabt.dir/build.make:167: CMakeFiles/libwabt.dir/src/lexer-source.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:132: CMakeFiles/libwabt.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
thread 'main' panicked at '
command did not execute successfully, got: exit code: 2
build script failed, must exit now', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.42/src/lib.rs:861:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.
warning: build failed, waiting for other jobs to finish...
error: build failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment