Skip to content

Commit

Permalink
Update version to v0.6.0 (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
yutannihilation authored Jul 17, 2023
1 parent 84a013d commit 32d043a
Show file tree
Hide file tree
Showing 15 changed files with 118 additions and 83 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## libR-sys (unreleased)
## libR-sys 0.6.0

- Drop support for 32-bit Windows, which virtually means dropping support for R < 4.2.
- Fix failures with R installation that doesn't provide shared libraries.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "libR-sys"
version = "0.5.0"
version = "0.6.0"
authors = [
"andy-thomason <[email protected]>",
"Thomas Down",
Expand Down
2 changes: 1 addition & 1 deletion bindings/bindings-linux-aarch64-R4.2.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* automatically generated by rust-bindgen 0.64.0 */

/* libR-sys version: 0.5.0 */
/* libR-sys version: 0.6.0 */
/* bindgen clang version: Ubuntu clang version 14.0.0-1ubuntu1 */
/* clang-rs version: Ubuntu clang version 14.0.0-1ubuntu1 */
/* r version: 4.2.3 */
Expand Down
21 changes: 11 additions & 10 deletions bindings/bindings-linux-aarch64-R4.3.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/* automatically generated by rust-bindgen 0.64.0 */

/* libR-sys version: 0.5.0 */
/* libR-sys version: 0.6.0 */
/* bindgen clang version: Ubuntu clang version 14.0.0-1ubuntu1 */
/* clang-rs version: Ubuntu clang version 14.0.0-1ubuntu1 */
/* r version: 4.3.0 */
/* r version: 4.3.1 */

#[repr(C)]
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
Expand Down Expand Up @@ -92,6 +92,7 @@ pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1;
pub const SUPPORT_UTF8: u32 = 1;
pub const SUPPORT_MBCS: u32 = 1;
pub const ENABLE_NLS: u32 = 1;
pub const PR18534fixed: u32 = 1;
pub const SIZEOF_SIZE_T: u32 = 8;
pub const HAVE_ALLOCA_H: u32 = 1;
pub const HAVE_UINTPTR_T: u32 = 1;
Expand Down Expand Up @@ -141,7 +142,7 @@ pub const HT_TYPE_IDENTICAL: u32 = 0;
pub const HT_TYPE_ADDRESS: u32 = 1;
pub const RSTART_VERSION: u32 = 1;
pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1;
pub const R_VERSION_STRING: &[u8; 6usize] = b"4.3.0\0";
pub const R_VERSION_STRING: &[u8; 6usize] = b"4.3.1\0";
pub const HAVE_EXPM1: u32 = 1;
pub const HAVE_HYPOT: u32 = 1;
pub const HAVE_LOG1P: u32 = 1;
Expand All @@ -157,15 +158,15 @@ pub const M_LN_2PI: f64 = 1.8378770664093456;
pub const M_LN_SQRT_PI: f64 = 0.5723649429247001;
pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728;
pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744;
pub const R_VERSION: u32 = 262912;
pub const R_NICK: &[u8; 17usize] = b"Already Tomorrow\0";
pub const R_VERSION: u32 = 262913;
pub const R_NICK: &[u8; 14usize] = b"Beagle Scouts\0";
pub const R_MAJOR: &[u8; 2usize] = b"4\0";
pub const R_MINOR: &[u8; 4usize] = b"3.0\0";
pub const R_MINOR: &[u8; 4usize] = b"3.1\0";
pub const R_STATUS: &[u8; 1usize] = b"\0";
pub const R_YEAR: &[u8; 5usize] = b"2023\0";
pub const R_MONTH: &[u8; 3usize] = b"04\0";
pub const R_DAY: &[u8; 3usize] = b"21\0";
pub const R_SVN_REVISION: u32 = 84292;
pub const R_MONTH: &[u8; 3usize] = b"06\0";
pub const R_DAY: &[u8; 3usize] = b"16\0";
pub const R_SVN_REVISION: u32 = 84548;
pub const R_GE_definitions: u32 = 13;
pub const R_GE_deviceClip: u32 = 14;
pub const R_GE_group: u32 = 15;
Expand Down Expand Up @@ -5961,7 +5962,7 @@ pub struct _GEDevDesc {
pub displayListOn: Rboolean,
#[doc = "display list"]
pub displayList: SEXP,
#[doc = "A pointer to the end of the display list\nto avoid tranversing pairlists"]
#[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"]
pub DLlastElt: SEXP,
#[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"]
pub savedSnapshot: SEXP,
Expand Down
20 changes: 15 additions & 5 deletions bindings/bindings-linux-aarch64-R4.4-devel.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* automatically generated by rust-bindgen 0.64.0 */

/* libR-sys version: 0.5.0 */
/* libR-sys version: 0.6.0 */
/* bindgen clang version: Ubuntu clang version 14.0.0-1ubuntu1 */
/* clang-rs version: Ubuntu clang version 14.0.0-1ubuntu1 */
/* r version: 4.4.0-devel */
Expand Down Expand Up @@ -164,9 +164,9 @@ pub const R_MAJOR: &[u8; 2usize] = b"4\0";
pub const R_MINOR: &[u8; 4usize] = b"4.0\0";
pub const R_STATUS: &[u8; 29usize] = b"Under development (unstable)\0";
pub const R_YEAR: &[u8; 5usize] = b"2023\0";
pub const R_MONTH: &[u8; 3usize] = b"05\0";
pub const R_DAY: &[u8; 3usize] = b"24\0";
pub const R_SVN_REVISION: u32 = 84463;
pub const R_MONTH: &[u8; 3usize] = b"07\0";
pub const R_DAY: &[u8; 3usize] = b"13\0";
pub const R_SVN_REVISION: u32 = 84688;
pub const R_GE_definitions: u32 = 13;
pub const R_GE_deviceClip: u32 = 14;
pub const R_GE_group: u32 = 15;
Expand Down Expand Up @@ -3064,7 +3064,7 @@ pub struct structRstart {
pub ppsize: usize,
pub _bitfield_align_1: [u16; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>,
pub __bindgen_padding_0: u32,
pub nconnections: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_structRstart() {
Expand Down Expand Up @@ -3220,6 +3220,16 @@ fn bindgen_test_layout_structRstart() {
stringify!(ppsize)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).nconnections) as usize - ptr as usize },
84usize,
concat!(
"Offset of field: ",
stringify!(structRstart),
"::",
stringify!(nconnections)
)
);
}
impl structRstart {
#[inline]
Expand Down
2 changes: 1 addition & 1 deletion bindings/bindings-linux-x86_64-R4.2.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* automatically generated by rust-bindgen 0.64.0 */

/* libR-sys version: 0.5.0 */
/* libR-sys version: 0.6.0 */
/* bindgen clang version: Ubuntu clang version 14.0.0-1ubuntu1 */
/* clang-rs version: Ubuntu clang version 14.0.0-1ubuntu1 */
/* r version: 4.2.3 */
Expand Down
21 changes: 11 additions & 10 deletions bindings/bindings-linux-x86_64-R4.3.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/* automatically generated by rust-bindgen 0.64.0 */

/* libR-sys version: 0.5.0 */
/* libR-sys version: 0.6.0 */
/* bindgen clang version: Ubuntu clang version 14.0.0-1ubuntu1 */
/* clang-rs version: Ubuntu clang version 14.0.0-1ubuntu1 */
/* r version: 4.3.0 */
/* r version: 4.3.1 */

#[repr(C)]
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
Expand Down Expand Up @@ -92,6 +92,7 @@ pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1;
pub const SUPPORT_UTF8: u32 = 1;
pub const SUPPORT_MBCS: u32 = 1;
pub const ENABLE_NLS: u32 = 1;
pub const PR18534fixed: u32 = 1;
pub const SIZEOF_SIZE_T: u32 = 8;
pub const HAVE_ALLOCA_H: u32 = 1;
pub const HAVE_UINTPTR_T: u32 = 1;
Expand Down Expand Up @@ -141,7 +142,7 @@ pub const HT_TYPE_IDENTICAL: u32 = 0;
pub const HT_TYPE_ADDRESS: u32 = 1;
pub const RSTART_VERSION: u32 = 1;
pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1;
pub const R_VERSION_STRING: &[u8; 6usize] = b"4.3.0\0";
pub const R_VERSION_STRING: &[u8; 6usize] = b"4.3.1\0";
pub const HAVE_EXPM1: u32 = 1;
pub const HAVE_HYPOT: u32 = 1;
pub const HAVE_LOG1P: u32 = 1;
Expand All @@ -157,15 +158,15 @@ pub const M_LN_2PI: f64 = 1.8378770664093456;
pub const M_LN_SQRT_PI: f64 = 0.5723649429247001;
pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728;
pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744;
pub const R_VERSION: u32 = 262912;
pub const R_NICK: &[u8; 17usize] = b"Already Tomorrow\0";
pub const R_VERSION: u32 = 262913;
pub const R_NICK: &[u8; 14usize] = b"Beagle Scouts\0";
pub const R_MAJOR: &[u8; 2usize] = b"4\0";
pub const R_MINOR: &[u8; 4usize] = b"3.0\0";
pub const R_MINOR: &[u8; 4usize] = b"3.1\0";
pub const R_STATUS: &[u8; 1usize] = b"\0";
pub const R_YEAR: &[u8; 5usize] = b"2023\0";
pub const R_MONTH: &[u8; 3usize] = b"04\0";
pub const R_DAY: &[u8; 3usize] = b"21\0";
pub const R_SVN_REVISION: u32 = 84292;
pub const R_MONTH: &[u8; 3usize] = b"06\0";
pub const R_DAY: &[u8; 3usize] = b"16\0";
pub const R_SVN_REVISION: u32 = 84548;
pub const R_GE_definitions: u32 = 13;
pub const R_GE_deviceClip: u32 = 14;
pub const R_GE_group: u32 = 15;
Expand Down Expand Up @@ -5961,7 +5962,7 @@ pub struct _GEDevDesc {
pub displayListOn: Rboolean,
#[doc = "display list"]
pub displayList: SEXP,
#[doc = "A pointer to the end of the display list\nto avoid tranversing pairlists"]
#[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"]
pub DLlastElt: SEXP,
#[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"]
pub savedSnapshot: SEXP,
Expand Down
20 changes: 15 additions & 5 deletions bindings/bindings-linux-x86_64-R4.4-devel.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* automatically generated by rust-bindgen 0.64.0 */

/* libR-sys version: 0.5.0 */
/* libR-sys version: 0.6.0 */
/* bindgen clang version: Ubuntu clang version 14.0.0-1ubuntu1 */
/* clang-rs version: Ubuntu clang version 14.0.0-1ubuntu1 */
/* r version: 4.4.0-devel */
Expand Down Expand Up @@ -164,9 +164,9 @@ pub const R_MAJOR: &[u8; 2usize] = b"4\0";
pub const R_MINOR: &[u8; 4usize] = b"4.0\0";
pub const R_STATUS: &[u8; 29usize] = b"Under development (unstable)\0";
pub const R_YEAR: &[u8; 5usize] = b"2023\0";
pub const R_MONTH: &[u8; 3usize] = b"05\0";
pub const R_DAY: &[u8; 3usize] = b"24\0";
pub const R_SVN_REVISION: u32 = 84463;
pub const R_MONTH: &[u8; 3usize] = b"07\0";
pub const R_DAY: &[u8; 3usize] = b"13\0";
pub const R_SVN_REVISION: u32 = 84688;
pub const R_GE_definitions: u32 = 13;
pub const R_GE_deviceClip: u32 = 14;
pub const R_GE_group: u32 = 15;
Expand Down Expand Up @@ -3064,7 +3064,7 @@ pub struct structRstart {
pub ppsize: usize,
pub _bitfield_align_1: [u16; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>,
pub __bindgen_padding_0: u32,
pub nconnections: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_structRstart() {
Expand Down Expand Up @@ -3220,6 +3220,16 @@ fn bindgen_test_layout_structRstart() {
stringify!(ppsize)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).nconnections) as usize - ptr as usize },
84usize,
concat!(
"Offset of field: ",
stringify!(structRstart),
"::",
stringify!(nconnections)
)
);
}
impl structRstart {
#[inline]
Expand Down
25 changes: 13 additions & 12 deletions bindings/bindings-macos-aarch64-R4.3.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/* automatically generated by rust-bindgen 0.64.0 */

/* libR-sys version: 0.5.0 */
/* bindgen clang version: Homebrew clang version 16.0.3 */
/* clang-rs version: Homebrew clang version 16.0.3 */
/* r version: 4.3.0 */
/* libR-sys version: 0.6.0 */
/* bindgen clang version: Homebrew clang version 16.0.6 */
/* clang-rs version: Homebrew clang version 16.0.6 */
/* r version: 4.3.1 */

#[repr(C)]
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
Expand Down Expand Up @@ -94,6 +94,7 @@ pub const SUPPORT_UTF8: u32 = 1;
pub const SUPPORT_MBCS: u32 = 1;
pub const ENABLE_NLS: u32 = 1;
pub const HAVE_AQUA: u32 = 1;
pub const PR18534fixed: u32 = 1;
pub const SIZEOF_SIZE_T: u32 = 8;
pub const HAVE_ALLOCA_H: u32 = 1;
pub const HAVE_UINTPTR_T: u32 = 1;
Expand Down Expand Up @@ -143,7 +144,7 @@ pub const HT_TYPE_IDENTICAL: u32 = 0;
pub const HT_TYPE_ADDRESS: u32 = 1;
pub const RSTART_VERSION: u32 = 1;
pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1;
pub const R_VERSION_STRING: &[u8; 6usize] = b"4.3.0\0";
pub const R_VERSION_STRING: &[u8; 6usize] = b"4.3.1\0";
pub const HAVE_EXPM1: u32 = 1;
pub const HAVE_HYPOT: u32 = 1;
pub const HAVE_LOG1P: u32 = 1;
Expand All @@ -159,15 +160,15 @@ pub const M_LN_2PI: f64 = 1.8378770664093456;
pub const M_LN_SQRT_PI: f64 = 0.5723649429247001;
pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728;
pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744;
pub const R_VERSION: u32 = 262912;
pub const R_NICK: &[u8; 17usize] = b"Already Tomorrow\0";
pub const R_VERSION: u32 = 262913;
pub const R_NICK: &[u8; 14usize] = b"Beagle Scouts\0";
pub const R_MAJOR: &[u8; 2usize] = b"4\0";
pub const R_MINOR: &[u8; 4usize] = b"3.0\0";
pub const R_MINOR: &[u8; 4usize] = b"3.1\0";
pub const R_STATUS: &[u8; 1usize] = b"\0";
pub const R_YEAR: &[u8; 5usize] = b"2023\0";
pub const R_MONTH: &[u8; 3usize] = b"04\0";
pub const R_DAY: &[u8; 3usize] = b"21\0";
pub const R_SVN_REVISION: u32 = 84292;
pub const R_MONTH: &[u8; 3usize] = b"06\0";
pub const R_DAY: &[u8; 3usize] = b"16\0";
pub const R_SVN_REVISION: u32 = 84548;
pub const R_GE_definitions: u32 = 13;
pub const R_GE_deviceClip: u32 = 14;
pub const R_GE_group: u32 = 15;
Expand Down Expand Up @@ -5916,7 +5917,7 @@ pub struct _GEDevDesc {
pub displayListOn: Rboolean,
#[doc = "display list"]
pub displayList: SEXP,
#[doc = "A pointer to the end of the display list\nto avoid tranversing pairlists"]
#[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"]
pub DLlastElt: SEXP,
#[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"]
pub savedSnapshot: SEXP,
Expand Down
6 changes: 3 additions & 3 deletions bindings/bindings-macos-x86_64-R4.2.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* automatically generated by rust-bindgen 0.64.0 */

/* libR-sys version: 0.5.0 */
/* bindgen clang version: Homebrew clang version 16.0.3 */
/* clang-rs version: Homebrew clang version 16.0.3 */
/* libR-sys version: 0.6.0 */
/* bindgen clang version: Homebrew clang version 16.0.6 */
/* clang-rs version: Homebrew clang version 16.0.6 */
/* r version: 4.2.3 */

#[repr(C)]
Expand Down
25 changes: 13 additions & 12 deletions bindings/bindings-macos-x86_64-R4.3.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/* automatically generated by rust-bindgen 0.64.0 */

/* libR-sys version: 0.5.0 */
/* bindgen clang version: Homebrew clang version 16.0.3 */
/* clang-rs version: Homebrew clang version 16.0.3 */
/* r version: 4.3.0 */
/* libR-sys version: 0.6.0 */
/* bindgen clang version: Homebrew clang version 16.0.6 */
/* clang-rs version: Homebrew clang version 16.0.6 */
/* r version: 4.3.1 */

#[repr(C)]
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
Expand Down Expand Up @@ -94,6 +94,7 @@ pub const SUPPORT_UTF8: u32 = 1;
pub const SUPPORT_MBCS: u32 = 1;
pub const ENABLE_NLS: u32 = 1;
pub const HAVE_AQUA: u32 = 1;
pub const PR18534fixed: u32 = 1;
pub const SIZEOF_SIZE_T: u32 = 8;
pub const HAVE_ALLOCA_H: u32 = 1;
pub const HAVE_UINTPTR_T: u32 = 1;
Expand Down Expand Up @@ -143,7 +144,7 @@ pub const HT_TYPE_IDENTICAL: u32 = 0;
pub const HT_TYPE_ADDRESS: u32 = 1;
pub const RSTART_VERSION: u32 = 1;
pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1;
pub const R_VERSION_STRING: &[u8; 6usize] = b"4.3.0\0";
pub const R_VERSION_STRING: &[u8; 6usize] = b"4.3.1\0";
pub const HAVE_EXPM1: u32 = 1;
pub const HAVE_HYPOT: u32 = 1;
pub const HAVE_LOG1P: u32 = 1;
Expand All @@ -159,15 +160,15 @@ pub const M_LN_2PI: f64 = 1.8378770664093456;
pub const M_LN_SQRT_PI: f64 = 0.5723649429247001;
pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728;
pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744;
pub const R_VERSION: u32 = 262912;
pub const R_NICK: &[u8; 17usize] = b"Already Tomorrow\0";
pub const R_VERSION: u32 = 262913;
pub const R_NICK: &[u8; 14usize] = b"Beagle Scouts\0";
pub const R_MAJOR: &[u8; 2usize] = b"4\0";
pub const R_MINOR: &[u8; 4usize] = b"3.0\0";
pub const R_MINOR: &[u8; 4usize] = b"3.1\0";
pub const R_STATUS: &[u8; 1usize] = b"\0";
pub const R_YEAR: &[u8; 5usize] = b"2023\0";
pub const R_MONTH: &[u8; 3usize] = b"04\0";
pub const R_DAY: &[u8; 3usize] = b"21\0";
pub const R_SVN_REVISION: u32 = 84292;
pub const R_MONTH: &[u8; 3usize] = b"06\0";
pub const R_DAY: &[u8; 3usize] = b"16\0";
pub const R_SVN_REVISION: u32 = 84548;
pub const R_GE_definitions: u32 = 13;
pub const R_GE_deviceClip: u32 = 14;
pub const R_GE_group: u32 = 15;
Expand Down Expand Up @@ -5916,7 +5917,7 @@ pub struct _GEDevDesc {
pub displayListOn: Rboolean,
#[doc = "display list"]
pub displayList: SEXP,
#[doc = "A pointer to the end of the display list\nto avoid tranversing pairlists"]
#[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"]
pub DLlastElt: SEXP,
#[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"]
pub savedSnapshot: SEXP,
Expand Down
Loading

0 comments on commit 32d043a

Please sign in to comment.