You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fleet.rs is cargo build and cargo run and cargo build
I failed to compile my napi-rs module by fleet.rs(repo) instead of cargo. It is still impressively fast and interesting. I'm not sure fleet is stable enough to use as builder. However, I found there is no discussions about fleet.rs.
❯ CARGO=fleet pnpm build
> napi build --platform --release
📝 Generated Fleet Config
🚀 Fleet is ready!
Compiling proc-macro2 v1.0.40
Compiling quote v1.0.20
Compiling unicode-ident v1.0.2
Compiling syn v1.0.98
Compiling memchr v2.5.0
Compiling regex-syntax v0.6.27
Compiling once_cell v1.13.0
Compiling convert_case v0.5.0
Compiling napi-build v2.0.1
error: incorrect value `...` for codegen option `split-debuginfo` - one of supported split-debuginfo modes (`off`, `packed`, or `unpacked`) was expected
error: could not compile `convert_case` due to previous error
warning: build failed, waiting for other jobs to finish...
error: build failed
=> You are not using a `nightly` compiler. Run `rustup default nightly`.
Internal Error: Command failed: fleet build --release
at checkExecSyncError (node:child_process:826:11)
at Object.execSync (node:child_process:900:15)
at BuildCommand.<anonymous> (/Users/alan.jo/Downloads/hdgen/node_modules/.pnpm/@napi-rs+cli@2.10.0/node_modules/@napi-rs/cli/scripts/index.js:31968:26)
at Generator.next (<anonymous>)
at fulfilled (/Users/alan.jo/Downloads/hdgen/node_modules/.pnpm/@napi-rs+cli@2.10.0/node_modules/@napi-rs/cli/scripts/index.js:3490:58)
This error occurs even after I changed to rustup nightly
They may misunderstand the documentation that split-debuginfo = '...' # Platform-specific. is a valid config. To me it looks like the documentation don't want to write out platform specific value for split-debuginfo not that ... is a valid option.
CARGO=fleet pnpm napi build --platform without release option build module successful. It runs fine either
But It's weird ... valued is passing to option when --release option added to napi build command
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Fleet.rs is
cargo buildandcargo runandcargo buildI failed to compile my
napi-rsmodule byfleet.rs(repo) instead of cargo. It is still impressively fast and interesting. I'm not sure fleet is stable enough to use as builder. However, I found there is no discussions aboutfleet.rs.All reactions