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

Do a cargo build #2

Open
Joshfairhead opened this issue Aug 5, 2020 · 1 comment
Open

Do a cargo build #2

Joshfairhead opened this issue Aug 5, 2020 · 1 comment

Comments

@Joshfairhead
Copy link

"open the project using the workspace file
open a VSC terminal in the code/ directory (Terminal > New Terminal)
start a Holochain shell there
do cargo build"

Following these instructions the build fails though I've not changed any of the code from default. I can post the error message but unfortunately it doesn't format particularly well. Therese 7 of these:

error: expected one of !, ., ::, ;, ?, {, }, or an operator, found with--> /Users/newmac/dev/devcamp7-leap/dna/course/zomes/courses/code/.cargo/registry/src/github.com-1ecc6299db9ec823/num-rational-0.3.0/src/lib.rs:1019:26 | 1005 | / macro_rules! impl_formatting { 1006 | | ($fmt_trait:ident, $prefix:expr, $fmt_str:expr, $fmt_alt:expr) => { 1007 | | impl<T: $fmt_trait + Clone + Integer> $fmt_trait for Ratio<T> { 1008 | | #[cfg(feature = "std")] ... | 1019 | | replace with strip_prefix, when stabalized | | ^^^^ expected one of 8 possible tokens ... | 1059 | | }; 1060 | | } | |_- in this expansion ofimpl_formatting!``

@e-nastasia
Copy link
Member

Interesting.. this looks like it doesn't have some conf option to allow for this syntax to build.
Just to make sure that shell is started with a proper config, could you please run it again in VSC terminal like this nix-shell ../../../../../default.nix?

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