The Internet Archive discovers and captures web pages through many different web crawls.
At any given time several distinct crawls are running, some for months, and some every day or longer.
View the web archive through the Wayback Machine.
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0433]: failed to resolve: could not find `compile` in `vm`
--> pyc\src/main.rs:80:21
|
80 | vm::compile::Mode::Exec,
| ^^^^^^^ could not find `compile` in `vm`
|
help: consider importing this enum
|
1 + use rustpython_vm::compiler::Mode;
|
help: if you import `Mode`, refer to it directly
|
80 - vm::compile::Mode::Exec,80 + Mode::Exec,
|
error[E0061]: this method takes 2 arguments but 1 argument was supplied
--> pyc\src/main.rs:66:31
|
66 | .map_err(|err| vm.new_syntax_error(&err));
| ^^^^^^^^^^^^^^^^------ an argument of type `Option<&str>` is missing
The text was updated successfully, but these errors were encountered:
Try to use vm::compiler::Mode::Exec and vm.new_syntax_error(&err, None) or source code instead of None.
The code looks older than your RustPython version.
this problem is fixed now Thanks
but there a problem else
error: linking with C:\mingw64\bin\gcc.exe failed: exit code: 1
x86_64-w64-mingw32/bin/ld.exe: cannot find -lffi: No such file or directory
collect2.exe: error: ld returned 1 exit status
Hi all!
And thank you for the super interesting project.
I'm not sure if this is a bug or not - technically it's just a compile issue.
the code
https://github.com/xforce/netease-messiah-tools/blob/main/pyc/src/main.rs
The text was updated successfully, but these errors were encountered: