mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 04:08:41 +00:00
build(rust): incompatible-rust-versions = "fallback" + cargo update (#8407)
This commit is contained in:
parent
0726581f4f
commit
a006955fcb
4 changed files with 235 additions and 220 deletions
|
|
@ -10,3 +10,6 @@ rule = "run -p rulegen"
|
|||
|
||||
# Build oxlint in release mode
|
||||
oxlint = "build --release --bin oxlint --features allocator"
|
||||
|
||||
[resolver]
|
||||
incompatible-rust-versions = "fallback"
|
||||
|
|
|
|||
444
Cargo.lock
generated
444
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -11,7 +11,7 @@ homepage = "https://oxc.rs"
|
|||
keywords = ["JavaScript", "TypeScript", "linter", "minifier", "parser"]
|
||||
license = "MIT"
|
||||
repository = "https://github.com/oxc-project/oxc"
|
||||
rust-version = "1.79" # Support last 6 minor versions.
|
||||
rust-version = "1.80" # Support last 5 minor versions.
|
||||
description = "A collection of JavaScript tools written in Rust."
|
||||
|
||||
# <https://doc.rust-lang.org/rustc/lints/listing/allowed-by-default.html>
|
||||
|
|
|
|||
|
|
@ -18,12 +18,6 @@ use std::{cmp::Ordering, ptr::NonNull as NativeNonNull};
|
|||
#[repr(transparent)]
|
||||
pub struct NonNull<T>(NativeNonNull<T>);
|
||||
|
||||
#[cfg(clippy)]
|
||||
#[expect(clippy::incompatible_msrv)]
|
||||
unsafe fn _non_null_add_is_not_stable(ptr: NativeNonNull<u8>) -> NativeNonNull<u8> {
|
||||
ptr.add(1)
|
||||
}
|
||||
|
||||
impl<T> NonNull<T> {
|
||||
#[inline(always)]
|
||||
pub const unsafe fn new_unchecked(ptr: *mut T) -> Self {
|
||||
|
|
|
|||
Loading…
Reference in a new issue