mirror of
https://github.com/oxc-project/oxc.git
synced 2026-11-04 10:29:58 +00:00
#27642 added an aarch64 Neon implementation of `classify`. So now we have 3 implementations. Update `just ready-lexer` recipe to test and lint all 3.
58 lines
1.9 KiB
TOML
58 lines
1.9 KiB
TOML
[package]
|
|
name = "oxc_coverage"
|
|
version = "0.0.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
homepage.workspace = true
|
|
keywords.workspace = true
|
|
license.workspace = true
|
|
publish = false
|
|
repository.workspace = true
|
|
description.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[[bin]]
|
|
name = "oxc_coverage"
|
|
test = false
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
cow-utils = { workspace = true }
|
|
oxc = { workspace = true, features = ["full", "isolated_declarations", "serialize", "conformance"] }
|
|
oxc_estree_tokens = { workspace = true }
|
|
oxc_lexer = { workspace = true, optional = true }
|
|
oxc_formatter = { workspace = true }
|
|
oxc_formatter_core = { workspace = true }
|
|
oxc_tasks_common = { workspace = true }
|
|
oxc_tasks_transform_checker = { workspace = true }
|
|
encoding_rs = { workspace = true }
|
|
encoding_rs_io = { workspace = true }
|
|
itertools = { workspace = true }
|
|
lazy-regex = { workspace = true }
|
|
phf = { workspace = true }
|
|
pico-args = { workspace = true }
|
|
rayon = { workspace = true }
|
|
rustc-hash = { workspace = true }
|
|
saphyr = { workspace = true }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true }
|
|
similar = { workspace = true }
|
|
walkdir = { workspace = true }
|
|
|
|
[features]
|
|
# Differential lexer conformance, opt-in because it is slow and `oxc_lexer` is still incubating.
|
|
# The harness runs against whichever of the lexer's implementations the build selects:
|
|
#
|
|
# * AVX2 (x86_64 only): RUSTFLAGS="-C target-feature=+avx2,+bmi2,+popcnt" cargo coverage --features lexer -- lexer
|
|
# * Neon (aarch64) or generic (everywhere else): cargo coverage --features lexer -- lexer
|
|
#
|
|
# `avx2`/`bmi2`/`popcnt` are not in the x86_64 baseline on any platform, so the rustflags are required
|
|
# to reach the AVX2 implementation even on an x86_64 host.
|
|
# The `just *-lexer*` recipes run conformance for each implementation - see the justfile.
|
|
lexer = ["dep:oxc_lexer", "oxc_lexer/oxc_diagnostics"]
|