-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Milestone
Description
system:win11
R version:4.3.2
> rust_sitrep()
Rust infrastructure sitrep:
✔ "rustup": 1.26.0 (5af9b9484 2023-04-05)
✔ "cargo": 1.74.1 (ecb9851af 2023-10-18)
ℹ host: x86_64-pc-windows-msvc
ℹ toolchain: stable-x86_64-pc-windows-msvc
ℹ target: x86_64-pc-windows-msvc
When I use the code in the example, I encounter the following error
> rust_function("fn add(a:f64, b:f64) -> f64 { a + b }")
ℹ build directory: C:/Users/admin/AppData/Local/Temp/RtmpKMywd4/file75383e69395d
Updating crates.io index
Compiling proc-macro2 v1.0.70
Compiling unicode-ident v1.0.12
Compiling libR-sys v0.6.0
Compiling paste v1.0.14
Compiling extendr-api v0.6.0
Compiling once_cell v1.19.0
error: could not compile `once_cell` (lib) due to 242 previous errors
warning: build failed, waiting for other jobs to finish...
|
454 | impl<T: PartialEq> PartialEq for OnceCell<T> {
| ^^^^^^^^^ not found in this scope
✖ error[E0405]: cannot find trait `PartialEq` in this scope
--> D:\ds\Rusts\o\.cargo\registry\src\index.crates.io-6f17d22bba15001f\once_cell-1.19.0\src\lib.rs:454:13
|
454 | impl<T: PartialEq> PartialEq for OnceCell<T> {
| ^^^^^^^^^ not found in this scope
It should be noted that rust is installed in the path D:\ds\Rusts\o, and I have also configured the path
.
Ilia-Kosenkov
Metadata
Metadata
Assignees
Labels
No labels