chore: MSRV 1.63.0
This commit is contained in:
parent
c5f7213a27
commit
07d03c9435
8 changed files with 10 additions and 11 deletions
6
.github/workflows/test-release.yaml
vendored
6
.github/workflows/test-release.yaml
vendored
|
@ -82,7 +82,7 @@ jobs:
|
|||
yarn test --verbose
|
||||
yarn tsc -p examples/napi/tsconfig.json --noEmit
|
||||
yarn test:macro
|
||||
toolchain: 1.57.0
|
||||
toolchain: 1.63.0
|
||||
- host: macos-latest
|
||||
target: x86_64-apple-darwin
|
||||
build: yarn build:test
|
||||
|
@ -113,10 +113,10 @@ jobs:
|
|||
toolchain: stable
|
||||
exclude:
|
||||
- settings:
|
||||
toolchain: 1.57.0
|
||||
toolchain: 1.63.0
|
||||
node: 18
|
||||
- settings:
|
||||
toolchain: 1.57.0
|
||||
toolchain: 1.63.0
|
||||
node: 20
|
||||
- settings:
|
||||
target: i686-pc-windows-msvc
|
||||
|
|
|
@ -6,7 +6,7 @@ license = "MIT"
|
|||
name = "napi-derive-backend"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/napi-rs/napi-rs"
|
||||
rust-version = "1.57"
|
||||
rust-version = "1.63"
|
||||
version = "1.0.52"
|
||||
|
||||
[package.metadata.workspaces]
|
||||
|
|
|
@ -8,7 +8,7 @@ license = "MIT"
|
|||
name = "napi-build"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/napi-rs/napi-rs"
|
||||
rust-version = "1.57"
|
||||
rust-version = "1.63"
|
||||
version = "2.0.1"
|
||||
|
||||
[package.metadata.workspaces]
|
||||
|
|
|
@ -7,7 +7,7 @@ license = "MIT"
|
|||
name = "napi-derive"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/napi-rs/napi-rs"
|
||||
rust-version = "1.57"
|
||||
rust-version = "1.63"
|
||||
version = "2.13.0"
|
||||
|
||||
[package.metadata.workspaces]
|
||||
|
|
|
@ -7,7 +7,7 @@ license = "MIT"
|
|||
name = "napi"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/napi-rs/napi-rs"
|
||||
rust-version = "1.57"
|
||||
rust-version = "1.63"
|
||||
version = "2.13.2"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -24,7 +24,7 @@ A framework for building compiled `Node.js` add-ons in `Rust` via Node-API. Webs
|
|||
|
||||
## MSRV
|
||||
|
||||
**Rust** `1.57.0`
|
||||
**Rust** `1.63.0`
|
||||
|
||||
| | node12 | node14 | node16 | node18 | node20 |
|
||||
| --------------------- | ------ | ------ | ------ | ------ | ------ |
|
||||
|
|
|
@ -235,8 +235,7 @@ extern "C" fn napi_resolve_deferred<Data: ToNapiValue, Resolver: FnOnce(Env) ->
|
|||
unsafe { sys::napi_reject_deferred(env, deferred, error) };
|
||||
}
|
||||
Err(err) => {
|
||||
#[cfg(debug_assertions)]
|
||||
{
|
||||
if cfg!(debug_assertions) {
|
||||
println!("Failed to reject deferred: {:?}", err);
|
||||
let mut err = ptr::null_mut();
|
||||
let mut err_msg = ptr::null_mut();
|
||||
|
|
|
@ -8,7 +8,7 @@ license = "MIT"
|
|||
name = "napi-sys"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/napi-rs/napi-rs"
|
||||
rust-version = "1.57"
|
||||
rust-version = "1.63"
|
||||
version = "2.2.3"
|
||||
|
||||
[features]
|
||||
|
|
Loading…
Reference in a new issue