Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
--- 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
You can’t perform that action at this time.