Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
--- stderr
/root/.cargo/registry/src/ In member function 'virtual std::unique_ptr<wabt::LexerSource> wabt::LexerSourceFile::Clone()':
/root/.cargo/registry/src/ error: redundant move in return statement [-Werror=redundant-move]
41 | return std::move(result);
| ~~~~~~~~~^~~~~~~~
/root/.cargo/registry/src/ note: remove 'std::move' call
cc1plus: all warnings being treated as errors
make[2]: *** [CMakeFiles/libwabt.dir/build.make:167: CMakeFiles/libwabt.dir/src/] 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/
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.