File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name = "core-foundation-sys"
3
3
description = " Bindings to Core Foundation for OS X"
4
4
homepage = " https://github.com/servo/core-foundation-rs"
5
5
repository = " https://github.com/servo/core-foundation-rs"
6
- version = " 0.4.1 "
6
+ version = " 0.4.2 "
7
7
authors = [" The Servo Project Developers" ]
8
8
license = " MIT / Apache-2.0"
9
9
build = " build.rs"
Original file line number Diff line number Diff line change @@ -37,8 +37,9 @@ pub static kCFNumberFloat64Type: CFNumberType = 6;
37
37
// static kCFNumberCGFloatType: CFNumberType = 16;
38
38
// static kCFNumberMaxType: CFNumberType = 16;
39
39
40
- #[ repr( C ) ]
41
- pub struct __CFNumber ;
40
+ // This is an enum due to zero-sized types warnings.
41
+ // For more details see https://github.com/rust-lang/rust/issues/27303
42
+ pub enum __CFNumber { }
42
43
43
44
pub type CFNumberRef = * const __CFNumber ;
44
45
Original file line number Diff line number Diff line change @@ -3,13 +3,13 @@ name = "core-foundation"
3
3
description = " Bindings to Core Foundation for OS X"
4
4
homepage = " https://github.com/servo/core-foundation-rs"
5
5
repository = " https://github.com/servo/core-foundation-rs"
6
- version = " 0.4.1 "
6
+ version = " 0.4.2 "
7
7
authors = [" The Servo Project Developers" ]
8
8
license = " MIT / Apache-2.0"
9
9
10
10
[dependencies .core-foundation-sys ]
11
11
path = " ../core-foundation-sys"
12
- version = " 0.4.0 "
12
+ version = " 0.4.2 "
13
13
14
14
[dependencies ]
15
15
libc = " 0.2"
You can’t perform that action at this time.
0 commit comments