-
Notifications
You must be signed in to change notification settings - Fork 63
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
does not compile with latest rust toolchains. #3
Comments
If you want help, I would recommend to add some information that actually help me to understand the problem... compile errors, stacktraces... |
Basically every single toolchain i've tried failed for a different reason trying to compile :) $ rustup toolchain list $ cargo run --bin generator -- -g grammars/lua.py -t 100 error: legacy asm! syntax is no longer supported Compiling num-rational v0.2.4 error: could not compile To learn more, run the command again with --verbose. $ rustup toolchain list $ cargo run --bin generator -- -g grammars/lua.py -t 100 error: aborting due to previous error For more information about this error, try To learn more, run the command again with --verbose. $ rustup toolchain list $ cargo run --bin generator -- -g grammars/lua.py -t 100 error[E0658]: subslice patterns are unstable error: aborting due to 2 previous errors For more information about this error, try $ git status $ git remote -v |
Hmm, it's expected that Nautilus doesn't compile on stable. However, it works for me on nightly... However, the error that you had (llvm_asm) appears after I run cargo update. Are you still using the cargo.lock from the git? |
Yes Cargo.lock is unchanged in fact all code is pristine as stated by git status output. |
I'm using:
But this is worrysome, as this means that new users can't really use Nautilus. I will look into this. |
Aieee, 2020-02-06 works like a charm! |
No this sucks... I'm currently version bumping this, I think the 10.* version of pyo3 fixes this on the current nightly (but its broken on my old nightly). Unfortunately we don't work on stable, so at least nautilus should work on the current nightly. |
Should be fixed by 774f775. If you can confirm, please close this issue. |
Hmm, sorry but it still doesn't: nothing to commit, working tree clean $ git log -n 3
commit 774f775
commit 84a0228
$ rustc --version $ cargo run --bin generator -- -g grammars/lua.py -t 1000 error[E0407]: method error[E0407]: method error[E0407]: method error[E0407]: method error[E0200]: the trait error: aborting due to 6 previous errors Some errors have detailed explanations: E0200, E0407. To learn more, run the command again with --verbose. |
works for me with
I'll see if I can make it work with stable.. I think that are some pretty small changes |
Hmm dang. Pyo3 needs nightly... so I guess It'll be a note in the readme for now... |
I added a rustup-toolchain file that specifies a known good version. If you are using rustup, this should automatically pick the right version of rustc/cargo etc.. |
What rust toolchain are you using to compile the project.
It failed with multiple toolchains on different packages for different reasons.
So far I've tried:
stable-x86_64-unknown-linux-gnu
nightly-2019-09-11-x86_64-unknown-linux-gnu
nightly-2019-12-11-x86_64-unknown-linux-gnu
nightly-x86_64-unknown-linux-gnu (default)
NONE of these is able to compile and run the simple example:
cargo run --bin generator -- -g grammars/lua.py -t 100
The text was updated successfully, but these errors were encountered: