Skip to content

Commit 32d043a

Browse files
Update version to v0.6.0 (#175)
1 parent 84a013d commit 32d043a

15 files changed

+118
-83
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## libR-sys (unreleased)
3+
## libR-sys 0.6.0
44

55
- Drop support for 32-bit Windows, which virtually means dropping support for R < 4.2.
66
- Fix failures with R installation that doesn't provide shared libraries.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "libR-sys"
3-
version = "0.5.0"
3+
version = "0.6.0"
44
authors = [
55
"andy-thomason <[email protected]>",
66
"Thomas Down",

bindings/bindings-linux-aarch64-R4.2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* automatically generated by rust-bindgen 0.64.0 */
22

3-
/* libR-sys version: 0.5.0 */
3+
/* libR-sys version: 0.6.0 */
44
/* bindgen clang version: Ubuntu clang version 14.0.0-1ubuntu1 */
55
/* clang-rs version: Ubuntu clang version 14.0.0-1ubuntu1 */
66
/* r version: 4.2.3 */

bindings/bindings-linux-aarch64-R4.3.rs

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/* automatically generated by rust-bindgen 0.64.0 */
22

3-
/* libR-sys version: 0.5.0 */
3+
/* libR-sys version: 0.6.0 */
44
/* bindgen clang version: Ubuntu clang version 14.0.0-1ubuntu1 */
55
/* clang-rs version: Ubuntu clang version 14.0.0-1ubuntu1 */
6-
/* r version: 4.3.0 */
6+
/* r version: 4.3.1 */
77

88
#[repr(C)]
99
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
@@ -92,6 +92,7 @@ pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1;
9292
pub const SUPPORT_UTF8: u32 = 1;
9393
pub const SUPPORT_MBCS: u32 = 1;
9494
pub const ENABLE_NLS: u32 = 1;
95+
pub const PR18534fixed: u32 = 1;
9596
pub const SIZEOF_SIZE_T: u32 = 8;
9697
pub const HAVE_ALLOCA_H: u32 = 1;
9798
pub const HAVE_UINTPTR_T: u32 = 1;
@@ -141,7 +142,7 @@ pub const HT_TYPE_IDENTICAL: u32 = 0;
141142
pub const HT_TYPE_ADDRESS: u32 = 1;
142143
pub const RSTART_VERSION: u32 = 1;
143144
pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1;
144-
pub const R_VERSION_STRING: &[u8; 6usize] = b"4.3.0\0";
145+
pub const R_VERSION_STRING: &[u8; 6usize] = b"4.3.1\0";
145146
pub const HAVE_EXPM1: u32 = 1;
146147
pub const HAVE_HYPOT: u32 = 1;
147148
pub const HAVE_LOG1P: u32 = 1;
@@ -157,15 +158,15 @@ pub const M_LN_2PI: f64 = 1.8378770664093456;
157158
pub const M_LN_SQRT_PI: f64 = 0.5723649429247001;
158159
pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728;
159160
pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744;
160-
pub const R_VERSION: u32 = 262912;
161-
pub const R_NICK: &[u8; 17usize] = b"Already Tomorrow\0";
161+
pub const R_VERSION: u32 = 262913;
162+
pub const R_NICK: &[u8; 14usize] = b"Beagle Scouts\0";
162163
pub const R_MAJOR: &[u8; 2usize] = b"4\0";
163-
pub const R_MINOR: &[u8; 4usize] = b"3.0\0";
164+
pub const R_MINOR: &[u8; 4usize] = b"3.1\0";
164165
pub const R_STATUS: &[u8; 1usize] = b"\0";
165166
pub const R_YEAR: &[u8; 5usize] = b"2023\0";
166-
pub const R_MONTH: &[u8; 3usize] = b"04\0";
167-
pub const R_DAY: &[u8; 3usize] = b"21\0";
168-
pub const R_SVN_REVISION: u32 = 84292;
167+
pub const R_MONTH: &[u8; 3usize] = b"06\0";
168+
pub const R_DAY: &[u8; 3usize] = b"16\0";
169+
pub const R_SVN_REVISION: u32 = 84548;
169170
pub const R_GE_definitions: u32 = 13;
170171
pub const R_GE_deviceClip: u32 = 14;
171172
pub const R_GE_group: u32 = 15;
@@ -5961,7 +5962,7 @@ pub struct _GEDevDesc {
59615962
pub displayListOn: Rboolean,
59625963
#[doc = "display list"]
59635964
pub displayList: SEXP,
5964-
#[doc = "A pointer to the end of the display list\nto avoid tranversing pairlists"]
5965+
#[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"]
59655966
pub DLlastElt: SEXP,
59665967
#[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"]
59675968
pub savedSnapshot: SEXP,

bindings/bindings-linux-aarch64-R4.4-devel.rs

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* automatically generated by rust-bindgen 0.64.0 */
22

3-
/* libR-sys version: 0.5.0 */
3+
/* libR-sys version: 0.6.0 */
44
/* bindgen clang version: Ubuntu clang version 14.0.0-1ubuntu1 */
55
/* clang-rs version: Ubuntu clang version 14.0.0-1ubuntu1 */
66
/* r version: 4.4.0-devel */
@@ -164,9 +164,9 @@ pub const R_MAJOR: &[u8; 2usize] = b"4\0";
164164
pub const R_MINOR: &[u8; 4usize] = b"4.0\0";
165165
pub const R_STATUS: &[u8; 29usize] = b"Under development (unstable)\0";
166166
pub const R_YEAR: &[u8; 5usize] = b"2023\0";
167-
pub const R_MONTH: &[u8; 3usize] = b"05\0";
168-
pub const R_DAY: &[u8; 3usize] = b"24\0";
169-
pub const R_SVN_REVISION: u32 = 84463;
167+
pub const R_MONTH: &[u8; 3usize] = b"07\0";
168+
pub const R_DAY: &[u8; 3usize] = b"13\0";
169+
pub const R_SVN_REVISION: u32 = 84688;
170170
pub const R_GE_definitions: u32 = 13;
171171
pub const R_GE_deviceClip: u32 = 14;
172172
pub const R_GE_group: u32 = 15;
@@ -3064,7 +3064,7 @@ pub struct structRstart {
30643064
pub ppsize: usize,
30653065
pub _bitfield_align_1: [u16; 0],
30663066
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>,
3067-
pub __bindgen_padding_0: u32,
3067+
pub nconnections: ::std::os::raw::c_int,
30683068
}
30693069
#[test]
30703070
fn bindgen_test_layout_structRstart() {
@@ -3220,6 +3220,16 @@ fn bindgen_test_layout_structRstart() {
32203220
stringify!(ppsize)
32213221
)
32223222
);
3223+
assert_eq!(
3224+
unsafe { ::std::ptr::addr_of!((*ptr).nconnections) as usize - ptr as usize },
3225+
84usize,
3226+
concat!(
3227+
"Offset of field: ",
3228+
stringify!(structRstart),
3229+
"::",
3230+
stringify!(nconnections)
3231+
)
3232+
);
32233233
}
32243234
impl structRstart {
32253235
#[inline]

bindings/bindings-linux-x86_64-R4.2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* automatically generated by rust-bindgen 0.64.0 */
22

3-
/* libR-sys version: 0.5.0 */
3+
/* libR-sys version: 0.6.0 */
44
/* bindgen clang version: Ubuntu clang version 14.0.0-1ubuntu1 */
55
/* clang-rs version: Ubuntu clang version 14.0.0-1ubuntu1 */
66
/* r version: 4.2.3 */

bindings/bindings-linux-x86_64-R4.3.rs

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/* automatically generated by rust-bindgen 0.64.0 */
22

3-
/* libR-sys version: 0.5.0 */
3+
/* libR-sys version: 0.6.0 */
44
/* bindgen clang version: Ubuntu clang version 14.0.0-1ubuntu1 */
55
/* clang-rs version: Ubuntu clang version 14.0.0-1ubuntu1 */
6-
/* r version: 4.3.0 */
6+
/* r version: 4.3.1 */
77

88
#[repr(C)]
99
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
@@ -92,6 +92,7 @@ pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1;
9292
pub const SUPPORT_UTF8: u32 = 1;
9393
pub const SUPPORT_MBCS: u32 = 1;
9494
pub const ENABLE_NLS: u32 = 1;
95+
pub const PR18534fixed: u32 = 1;
9596
pub const SIZEOF_SIZE_T: u32 = 8;
9697
pub const HAVE_ALLOCA_H: u32 = 1;
9798
pub const HAVE_UINTPTR_T: u32 = 1;
@@ -141,7 +142,7 @@ pub const HT_TYPE_IDENTICAL: u32 = 0;
141142
pub const HT_TYPE_ADDRESS: u32 = 1;
142143
pub const RSTART_VERSION: u32 = 1;
143144
pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1;
144-
pub const R_VERSION_STRING: &[u8; 6usize] = b"4.3.0\0";
145+
pub const R_VERSION_STRING: &[u8; 6usize] = b"4.3.1\0";
145146
pub const HAVE_EXPM1: u32 = 1;
146147
pub const HAVE_HYPOT: u32 = 1;
147148
pub const HAVE_LOG1P: u32 = 1;
@@ -157,15 +158,15 @@ pub const M_LN_2PI: f64 = 1.8378770664093456;
157158
pub const M_LN_SQRT_PI: f64 = 0.5723649429247001;
158159
pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728;
159160
pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744;
160-
pub const R_VERSION: u32 = 262912;
161-
pub const R_NICK: &[u8; 17usize] = b"Already Tomorrow\0";
161+
pub const R_VERSION: u32 = 262913;
162+
pub const R_NICK: &[u8; 14usize] = b"Beagle Scouts\0";
162163
pub const R_MAJOR: &[u8; 2usize] = b"4\0";
163-
pub const R_MINOR: &[u8; 4usize] = b"3.0\0";
164+
pub const R_MINOR: &[u8; 4usize] = b"3.1\0";
164165
pub const R_STATUS: &[u8; 1usize] = b"\0";
165166
pub const R_YEAR: &[u8; 5usize] = b"2023\0";
166-
pub const R_MONTH: &[u8; 3usize] = b"04\0";
167-
pub const R_DAY: &[u8; 3usize] = b"21\0";
168-
pub const R_SVN_REVISION: u32 = 84292;
167+
pub const R_MONTH: &[u8; 3usize] = b"06\0";
168+
pub const R_DAY: &[u8; 3usize] = b"16\0";
169+
pub const R_SVN_REVISION: u32 = 84548;
169170
pub const R_GE_definitions: u32 = 13;
170171
pub const R_GE_deviceClip: u32 = 14;
171172
pub const R_GE_group: u32 = 15;
@@ -5961,7 +5962,7 @@ pub struct _GEDevDesc {
59615962
pub displayListOn: Rboolean,
59625963
#[doc = "display list"]
59635964
pub displayList: SEXP,
5964-
#[doc = "A pointer to the end of the display list\nto avoid tranversing pairlists"]
5965+
#[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"]
59655966
pub DLlastElt: SEXP,
59665967
#[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"]
59675968
pub savedSnapshot: SEXP,

bindings/bindings-linux-x86_64-R4.4-devel.rs

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* automatically generated by rust-bindgen 0.64.0 */
22

3-
/* libR-sys version: 0.5.0 */
3+
/* libR-sys version: 0.6.0 */
44
/* bindgen clang version: Ubuntu clang version 14.0.0-1ubuntu1 */
55
/* clang-rs version: Ubuntu clang version 14.0.0-1ubuntu1 */
66
/* r version: 4.4.0-devel */
@@ -164,9 +164,9 @@ pub const R_MAJOR: &[u8; 2usize] = b"4\0";
164164
pub const R_MINOR: &[u8; 4usize] = b"4.0\0";
165165
pub const R_STATUS: &[u8; 29usize] = b"Under development (unstable)\0";
166166
pub const R_YEAR: &[u8; 5usize] = b"2023\0";
167-
pub const R_MONTH: &[u8; 3usize] = b"05\0";
168-
pub const R_DAY: &[u8; 3usize] = b"24\0";
169-
pub const R_SVN_REVISION: u32 = 84463;
167+
pub const R_MONTH: &[u8; 3usize] = b"07\0";
168+
pub const R_DAY: &[u8; 3usize] = b"13\0";
169+
pub const R_SVN_REVISION: u32 = 84688;
170170
pub const R_GE_definitions: u32 = 13;
171171
pub const R_GE_deviceClip: u32 = 14;
172172
pub const R_GE_group: u32 = 15;
@@ -3064,7 +3064,7 @@ pub struct structRstart {
30643064
pub ppsize: usize,
30653065
pub _bitfield_align_1: [u16; 0],
30663066
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>,
3067-
pub __bindgen_padding_0: u32,
3067+
pub nconnections: ::std::os::raw::c_int,
30683068
}
30693069
#[test]
30703070
fn bindgen_test_layout_structRstart() {
@@ -3220,6 +3220,16 @@ fn bindgen_test_layout_structRstart() {
32203220
stringify!(ppsize)
32213221
)
32223222
);
3223+
assert_eq!(
3224+
unsafe { ::std::ptr::addr_of!((*ptr).nconnections) as usize - ptr as usize },
3225+
84usize,
3226+
concat!(
3227+
"Offset of field: ",
3228+
stringify!(structRstart),
3229+
"::",
3230+
stringify!(nconnections)
3231+
)
3232+
);
32233233
}
32243234
impl structRstart {
32253235
#[inline]

bindings/bindings-macos-aarch64-R4.3.rs

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/* automatically generated by rust-bindgen 0.64.0 */
22

3-
/* libR-sys version: 0.5.0 */
4-
/* bindgen clang version: Homebrew clang version 16.0.3 */
5-
/* clang-rs version: Homebrew clang version 16.0.3 */
6-
/* r version: 4.3.0 */
3+
/* libR-sys version: 0.6.0 */
4+
/* bindgen clang version: Homebrew clang version 16.0.6 */
5+
/* clang-rs version: Homebrew clang version 16.0.6 */
6+
/* r version: 4.3.1 */
77

88
#[repr(C)]
99
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
@@ -94,6 +94,7 @@ pub const SUPPORT_UTF8: u32 = 1;
9494
pub const SUPPORT_MBCS: u32 = 1;
9595
pub const ENABLE_NLS: u32 = 1;
9696
pub const HAVE_AQUA: u32 = 1;
97+
pub const PR18534fixed: u32 = 1;
9798
pub const SIZEOF_SIZE_T: u32 = 8;
9899
pub const HAVE_ALLOCA_H: u32 = 1;
99100
pub const HAVE_UINTPTR_T: u32 = 1;
@@ -143,7 +144,7 @@ pub const HT_TYPE_IDENTICAL: u32 = 0;
143144
pub const HT_TYPE_ADDRESS: u32 = 1;
144145
pub const RSTART_VERSION: u32 = 1;
145146
pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1;
146-
pub const R_VERSION_STRING: &[u8; 6usize] = b"4.3.0\0";
147+
pub const R_VERSION_STRING: &[u8; 6usize] = b"4.3.1\0";
147148
pub const HAVE_EXPM1: u32 = 1;
148149
pub const HAVE_HYPOT: u32 = 1;
149150
pub const HAVE_LOG1P: u32 = 1;
@@ -159,15 +160,15 @@ pub const M_LN_2PI: f64 = 1.8378770664093456;
159160
pub const M_LN_SQRT_PI: f64 = 0.5723649429247001;
160161
pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728;
161162
pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744;
162-
pub const R_VERSION: u32 = 262912;
163-
pub const R_NICK: &[u8; 17usize] = b"Already Tomorrow\0";
163+
pub const R_VERSION: u32 = 262913;
164+
pub const R_NICK: &[u8; 14usize] = b"Beagle Scouts\0";
164165
pub const R_MAJOR: &[u8; 2usize] = b"4\0";
165-
pub const R_MINOR: &[u8; 4usize] = b"3.0\0";
166+
pub const R_MINOR: &[u8; 4usize] = b"3.1\0";
166167
pub const R_STATUS: &[u8; 1usize] = b"\0";
167168
pub const R_YEAR: &[u8; 5usize] = b"2023\0";
168-
pub const R_MONTH: &[u8; 3usize] = b"04\0";
169-
pub const R_DAY: &[u8; 3usize] = b"21\0";
170-
pub const R_SVN_REVISION: u32 = 84292;
169+
pub const R_MONTH: &[u8; 3usize] = b"06\0";
170+
pub const R_DAY: &[u8; 3usize] = b"16\0";
171+
pub const R_SVN_REVISION: u32 = 84548;
171172
pub const R_GE_definitions: u32 = 13;
172173
pub const R_GE_deviceClip: u32 = 14;
173174
pub const R_GE_group: u32 = 15;
@@ -5916,7 +5917,7 @@ pub struct _GEDevDesc {
59165917
pub displayListOn: Rboolean,
59175918
#[doc = "display list"]
59185919
pub displayList: SEXP,
5919-
#[doc = "A pointer to the end of the display list\nto avoid tranversing pairlists"]
5920+
#[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"]
59205921
pub DLlastElt: SEXP,
59215922
#[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"]
59225923
pub savedSnapshot: SEXP,

bindings/bindings-macos-x86_64-R4.2.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/* automatically generated by rust-bindgen 0.64.0 */
22

3-
/* libR-sys version: 0.5.0 */
4-
/* bindgen clang version: Homebrew clang version 16.0.3 */
5-
/* clang-rs version: Homebrew clang version 16.0.3 */
3+
/* libR-sys version: 0.6.0 */
4+
/* bindgen clang version: Homebrew clang version 16.0.6 */
5+
/* clang-rs version: Homebrew clang version 16.0.6 */
66
/* r version: 4.2.3 */
77

88
#[repr(C)]

0 commit comments

Comments
 (0)