compiler: Rework path handling

Add some code to do platform-independent path processing.

This is necessary aas WASM does e.g. not have any absolute paths and
such and the compiler tended to produce wrong results in that case.

Side-effect: We no longer need to depend on `dunce`
This commit is contained in:
Tobias Hunger 2023-10-09 10:33:41 +02:00 committed by Tobias Hunger
parent 26e2a3d422
commit 0ff8e2cdb6
12 changed files with 611 additions and 85 deletions

View file

@ -30,6 +30,7 @@ pub mod lookup;
pub mod namedreference;
pub mod object_tree;
pub mod parser;
pub mod pathutils;
pub mod typeloader;
pub mod typeregister;