search for: libr_sys

Displaying 4 results from an estimated 4 matches for "libr_sys".

Did you mean: libmysys
2023 Apr 03
1
Breaking Change in Rcomplex Layout?
...unter > happen because bindgen (the Rust code generation library) read the > changed R header files, and generated a new type definition for > Rcomplex. Then, our downstream code that uses that bindgen-generated > code caused rustc compiler errors such as: > |error[E0560]: union `libR_sys::Rcomplex` has no field named `r` --> > extendr-api\src\robj\into_robj.rs:93:20 | 93 | Rcomplex { r: 0., i: 0. > } | ^ `libR_sys::Rcomplex` does not have this field | = note: > available fields are: `__bindgen_anon_1`, `private_data_c`| > and > |error[E0609]: no field `i` on ty...
2023 Apr 04
1
Breaking Change in Rcomplex Layout?
...encounter happen because > bindgen (the Rust code generation library) read the changed R header files, > and generated a new type definition for Rcomplex. Then, our downstream code > that uses that bindgen-generated code caused rustc compiler errors such as: > > error[E0560]: union `libR_sys::Rcomplex` has no field named `r` > --> extendr-api\src\robj\into_robj.rs:93:20 > | > 93 | Rcomplex { r: 0., i: 0. } > | ^ `libR_sys::Rcomplex` does not have this field > | > = note: available fields are: `__bindgen_anon_1`, `private_dat...
2023 Apr 03
1
Breaking Change in Rcomplex Layout?
On 4/3/23 14:07, Michael Milton wrote: > Hi all, > > There seems to have been a breaking change in the R trunk caused by a fix > to bug 18430 <https://bugs.r-project.org/show_bug.cgi?id=18430> that > relates to the layout of the Rcomplex typedef. Previously it was a struct, > but now it's a union by default >
2023 Apr 04
1
Breaking Change in Rcomplex Layout?
...ndgen (the Rust code generation >> library) read the changed R header files, and generated a new >> type definition for Rcomplex. Then, our downstream code that uses >> that bindgen-generated code caused rustc compiler errors such as: >> |error[E0560]: union `libR_sys::Rcomplex` has no field named `r` >> --> extendr-api\src\robj\into_robj.rs:93:20 | 93 | Rcomplex { r: >> 0., i: 0. } | ^ `libR_sys::Rcomplex` does not have this field | = >> note: available fields are: `__bindgen_anon_1`, `private_data_c`| >> and >>...