Ok, I figured it out. You can:
- make a Cargo Workspace
- setup same target dir in Cargo for botih projects.
Ok, I figured it out. You can:
I’ve found his Rust content pretty helpful in the learning process.
Is anybody else playing along with Introduction - Rust and WebAssembly and the Game of Life app?
I run into this problem
Compiling wasm-game-of-life v0.1.0 (/home/willie/projects/maidsafe/wasm-game-of-life)
error[E0658]: use of unstable library feature ‘rustc_private’: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io viaCargo.tomlinstead?
→ src/lib.rs:2:1
|
2 | extern crate cfg_if;
| ^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #27812 https://github.com/rust-lang/rust/issues/27812 for more information
Checking that issue, I see it is very old but seems to have resurfaced with one of the last comments being from one of the SAFE devs @davidrusu.
Any help welcome.
EDIT:
When I specify
[dependencies]
cfg-if = "0.1"
in Cargo.toml, I can move on.
WTF is this not in the README?
grump grump harrumph etc etc
Had asked myself once or twice when building some Rust thing: “why is this downloading and compiling so many crates?” and then found this article:
https://wiki.alopex.li/LetsBeRealAboutDependencies
Very nice look at the general state of software building and deployment, I would say.
From that article, I particularly liked…
There’s an interesting observation here: The biggest programs so far are the ones designed for humans to interact with. Turns out humans are complicated and making computers do things they want is hard. There’s the argument that humans need to learn computers better, with simpler and more composable primitives, and it will result in great benefits in smaller and more powerful programs. Then there’s the counter-argument that if a program is written once and used many, many times, the extra time a programmer puts into making the learning curve shallower will rapidly be made up for by the time saved by the users. Both these arguments are valid. “Design” is the art of striking a balance between them, and different people will want different balances.
And then a personal AI could change all this with programs just supplying a data packet of what is needed to be input and the personal AI knowing most things can autofill and ask the user (verbally or typing) anything that it cannot fill or may need clarification.
Thus simplifying program human interface with the personal AI doing the human interaction for the other application
This is a loose reaction to the post on Wiki - LetsBeRealAboutDependencies and reaction to the reaction on it.
Mark, I presume I’m breaking a forum rule here, but I felt compelled to look up these old comments of mine in this thread which I’d made close to exactly four years, it turns out.
The update (four years later! Unbelievable) is that I sent out my first invoices today for a few days of (very basic) IT support work I started doing for a business in my hometown
thank you to The Safe Network people and @dirvine for being large factors in me realising that computers were worth putting a bit of time into maybe learning a bit about.
It’s one of three jobs I’m doing at the moment, but I’m hoping to cut the other two out (somewhat) and do more of this. It pays well, I learn a lot, it’s challenging, and - I can eventually feed the progress and learning and ideas back into Autonomi and Rust (and Common Lisp) and my own projects, when I get more time (my eternal tune).
Hey J, that’s awesome, thanks for updating us. A heck of an achievement and a good time to dabble with your own ideas here if you have the time.
Good luck. ![]()