Skip to content

ArcLoader won't work without a top level directory #41

@alerque

Description

@alerque

I spent a while trying to figure out why I was only getting panics trying to follow examples from the docs. I finally narrowed it down to this bit of code:

let arc = ArcLoader::builder("tests/locales", unic_langid::langid!("en-US"))

The path from this test tests/locales from the test and examples works, but using "./" or any other iteration I can think of to use $CWD to look for resources ends in a panic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions