Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error[E0425]: cannot find function exists in module fs (and fix) #18

Closed
SnepOMatic opened this issue Sep 1, 2024 · 2 comments
Closed

Comments

@SnepOMatic
Copy link

Building from source using rustc 1.80.1 I was hitting "error[E0425]: cannot find function exists in module fs"
In this case src\bin\iso2god.rs line 178

Changing:
fs::exists(path)?
to
path.try_exists()?

Fixed the issue.

I apologise for lack of PR as I can't right now (plus my 'fix' may be skimming over something important), but may be useful for someone stuck?

@iliazeus
Copy link
Owner

iliazeus commented Sep 1, 2024

See #15 and #17.

Right now, this project only builds with nightly Rust (and probably already does with beta).

@iliazeus iliazeus closed this as not planned Won't fix, can't repro, duplicate, stale Sep 1, 2024
@iliazeus
Copy link
Owner

Rust 1.81 is out, and the current code now builds with stable Rust without issues.

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

No branches or pull requests

2 participants