Skip to content

transformer: change API to take a &TransformOptions #7185

@Boshen

Description

@Boshen

pub fn new(allocator: &'a Allocator, source_path: &Path, options: TransformOptions) -> Self {

TransformOptions has a initialization cost, ideally we should initialize it once and share it across files.

Metadata

Metadata

Assignees

Labels

C-enhancementCategory - New feature or request

Type

No type

Priority

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions