-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Improve paths in assets builder #357
Comments
Yeah, compiling the stock hello world example throws this error on windows
This error is caused by these lines in the generated Cargo.toml:
It works if you hard code a windows path on the RHS so I assume it has something to do with the env var interpolation or something related to #352. |
Is's a glob in the path. There is blocking wax's issue olson-sean-k/wax#34 , but I'll try to workaround it translating paths to normal slash |
Also, seems to current implementation works normally if run in the bash-like shell on windows, but not in powershell. |
Hi! I just ran into something similar in bash (in Linux Manjaro) -- I had to remove the
So it seems it's not just a Windows problem. |
@bremco Are you one hundred percent sure that the environment variables you specified are set? This may be if the variable is missed, because I removed the panic for the missed variables and instead of panic just left the path as it is. If I remember correctly. I know that it’s not good, it’s the point to change. |
This is the one you mean right?
I'm only getting started with Rust, but I've been developing for the Playdate for a while. I always take care to set that environment variable, otherwise my own scripts would also fail :-) In any case, everything (well, at least the basic example, both in the sim and on the device) works properly if I just remove |
Yes, exactly.
That's strange because resolver with regex requires curly braces - Okay, anyway that resolver should be rewritten entirely, as I planned it. Thank you, I'll look at it soon. |
Because there is infinite troubles with windows' paths.
Also just to ensure that all going well on each step.
relative-path
ortyped-path
The text was updated successfully, but these errors were encountered: