environment
- windows 10 pro 1083 OS build 17134.191
- system type 64-bit OS, x64-based processor
- rustc 1.29.0 (aa3ca1994 2018-09-11)
- cargo 1.29.0 (524a578d7 2018-08-05)
- node v8.11.3
- npm 6.4.1
- yarn v1.9.4
- msvs_version 2015
- python 2.7.14
- neon 0.2.0
step
- npm install --global --production windows-build-tools
- npm install --global neon-cli
- neon new threading-hint
- cd threading-hint
- yarn
error message
yarn install v1.9.4
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
$ neon build
[##############################################################------------------------------------------------] 96/171neon info forcing rebuild for new build settings
neon info running cargo
Updating registry `https://github.com/rust-lang/crates.io-index`
Compiling version_check v0.1.4
Compiling libc v0.2.43
Compiling regex v0.2.11
Compiling ucd-util v0.1.1
Compiling utf8-ranges v1.0.1
Compiling gcc v0.3.54
Compiling neon-build v0.2.0
Compiling semver-parser v0.7.0
Compiling cslice v0.2.0
Compiling memchr v2.0.2
Compiling regex-syntax v0.5.6
Compiling lazy_static v1.1.0
Compiling neon v0.2.0
Compiling threading-hint v0.1.0 (file:///E:/proj/threading-hint/native)
Compiling aho-corasick v0.6.8
Compiling semver v0.9.0
Compiling thread_local v0.3.6
Compiling neon-runtime v0.2.0
error: Neon only builds with --release. For tests, try `cargo test --release`.
--> C:\Users\USER\.cargo\registry\src\github.com-1ecc6299db9ec823\neon-0.2.0\src\lib.rs:288:1
|
288 | compile_error!("Neon only builds with --release. For tests, try `cargo test --release`.");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error
error: Could not compile `neon`.
To learn more, run the command again with --verbose.
neon ERR! cargo build failed
Error: cargo build failed
at Target.<anonymous> (E:\proj\threading-hint\node_modules\neon-cli\lib\target.js:121:35)
at step (E:\proj\threading-hint\node_modules\neon-cli\lib\target.js:32:23)
at Object.next (E:\proj\threading-hint\node_modules\neon-cli\lib\target.js:13:53)
at fulfilled (E:\proj\threading-hint\node_modules\neon-cli\lib\target.js:4:58)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
additional step
- cd native
- cargo test --release
result ok
Compiling version_check v0.1.4
Compiling libc v0.2.43
Compiling ucd-util v0.1.1
Compiling regex v0.2.11
Compiling utf8-ranges v1.0.1
Compiling gcc v0.3.54
Compiling neon-build v0.2.0
Compiling semver-parser v0.7.0
Compiling cslice v0.2.0
Compiling memchr v2.0.2
Compiling regex-syntax v0.5.6
Compiling lazy_static v1.1.0
Compiling neon v0.2.0
Compiling threading-hint v0.1.0 (file:///E:/proj/threading-hint/native)
Compiling aho-corasick v0.6.8
Compiling semver v0.9.0
Compiling thread_local v0.3.6
Compiling neon-runtime v0.2.0
Finished release [optimized] target(s) in 1m 04s
Running target\release\deps\threading_hint-b2f5de0c8ba20141.exe
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
Do i missed some step or configuration?
environment
step
error message
additional step
result ok
Do i missed some step or configuration?