From ec05ed7e0646d1e8ff76677d0332ddf93ed57b69 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Tue, 31 Jan 2023 15:05:42 +0100 Subject: Move assets --- src/lib.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 4d4cbb8b..0dc42152 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -75,7 +75,11 @@ pub fn compile(world: &(dyn World + 'static), source: &Source) -> SourceResult &Path; + /// + /// Defaults to the empty path. + fn root(&self) -> &Path { + Path::new("") + } /// The standard library. fn library(&self) -> &Prehashed; -- cgit v1.2.3