Skip to content

linter: use simdutf8 for validating files #5191

@Boshen

Description

@Boshen

See rolldown/rolldown#2040

Our code to change is:

let file_result = fs::read_to_string(path).map_err(|e| {
Error::new(OxcDiagnostic::error(format!(
"Failed to open file {path:?} with error \"{e}\""
)))
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory - New feature or requestC-performanceCategory - Solution not expected to change functional behavior, only performancegood first issueExperience Level - Good for newcomers

    Type

    No type

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions