Comments (5)
For me, running cargo install --locked trunk
would not work inside the project folder because trunk needs a newer version of rust.
So I think you need the latest version to install trunk
but to compile the app you use the version specified by the rust-toolchain
file.
from eframe_template.
Yes that problem is caused by using the different version of rust. Just remove the rust-toolchain
file and you should be good to go.
from eframe_template.
There's a similar oddity in that rust.yml
uses toolchain: stable
everywhere except: https://github.com/emilk/eframe_template/blob/master/.github/workflows/rust.yml#L99
from eframe_template.
I feel these are likely just oversights not sure what's the best way to address them as I think they are already a bit overloaded with PRs
from eframe_template.
I'm facing the same confusion. I was also wondering if this causes my IDE (VS Codium) to not properly initialize the rust-analyzer:
cargo check failed to start: Cargo watcher failed, the command produced no valid metadata (exit code: ExitStatus(unix_wait_status(256))):
error: 'cargo-clippy' is not installed for the custom toolchain '/home/user/.rustup/toolchains/1.72.0-x86_64-unknown-linux-gnu'.
note: this is a custom toolchain, which cannot use `rustup component add`
help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`
Any ideas about how to solve this or if this is even related?
from eframe_template.
Related Issues (20)
- Template crashes on M1 mac
- Cargo Subcommand? HOT 1
- License HOT 8
- Can not get cargo to run after rustup update HOT 2
- Web page error after modifying the sample program HOT 4
- The web app fails when the project is at `<username>.github.io` HOT 8
- Documentation and examples for storage need to be updated to reflect recent changes. HOT 1
- WASM template and https://www.egui.rs/#demo hyperlink inconsistency in Chrome
- clarification on how to deactivate the cache in development HOT 4
- Cargo warning on build
- When running example I get a smithay clipboard error HOT 1
- Trunk build only works at root directory HOT 2
- cargo run --release error HOT 3
- Incremental compilation fails because of Rust analyzer invalidating build cache
- Segmentation fault on WSL + VcXsrv
- Moving the mouse after expanding the sidebar causes it to go back to original size HOT 2
- How can we remove all the DEBUG and TRACE tags in the console? HOT 1
- How do I remove a component? HOT 1
- mind your cache HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eframe_template.