Skip to content

fix: return error instead of panicking when building filesystem root#359

Closed
SAY-5 wants to merge 1 commit into
aspizu:mainfrom
SAY-5:fix-build-root-panic
Closed

fix: return error instead of panicking when building filesystem root#359
SAY-5 wants to merge 1 commit into
aspizu:mainfrom
SAY-5:fix-build-root-panic

Conversation

@SAY-5

@SAY-5 SAY-5 commented Jun 17, 2026

Copy link
Copy Markdown

Fixes #300. build / panicked at canonical_input.file_name().unwrap() because the filesystem root has no file name. Now it returns a normal build error instead of crashing.

Signed-off-by: Sai Asish Y <say.apm35@gmail.com>
@aspizu aspizu closed this Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Building filesystem root panics instead of returning an error

2 participants