3 ms·
I'm quite excited to give this a try. I'd just point out that I'm seeming to run into errors, even on the examples. I love debugging just as much as the next de
by 8jy89hui 6y ago
I'm quite excited to give this a try. I'd just point out that I'm seeming to run into errors, even on the examples. I love debugging just as much as the next developer and will probably figure this out, but I thought I would suggest that you get a forum like Stack Exchange or something custom. Most people develop via Google or DuckDuckGo and not being able to Google an error code or make a post is a serious hindrance to development. (Discord is great but not a replacement)
The error that I am currently facing (if you're curious):
EDIT: This is because I was using Rust 1.40 rather than 1.45. Oops.
$ cargo run --example breakout
Compiling glam v0.9.3
Compiling same-file v1.0.6
Compiling anyhow v1.0.32
Compiling once_cell v1.4.0
Compiling adler32 v1.2.0
Compiling anymap v0.12.1
Compiling crc32fast v1.2.0
Compiling remove_dir_all v0.5.3
Compiling pin-project-internal v0.4.23
error[E0599]: no method named `map_or` found for type `std::result::Result<std::string::String, std::env::VarError>` in the current scope
--> /home/myname/.cargo/registry/src/github.com-1ecc6299db9ec823/glam-0.9.3/build.rs:7:10
|
7 | .map_or(false, |cfg| cfg.split(',').find(|&f| f == "sse2").is_some());
| ^^^^^^ help: there is a method with a similar name: `map_err`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0599`.
error: could not compile `glam`.
warning: build failed, waiting for other jobs to finish...
error: build failed