summaryrefslogtreecommitdiffstats
path: root/vendor/core-foundation-sys/src/lib.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-19 09:26:03 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-19 09:26:03 +0000
commit9918693037dce8aa4bb6f08741b6812923486c18 (patch)
tree21d2b40bec7e6a7ea664acee056eb3d08e15a1cf /vendor/core-foundation-sys/src/lib.rs
parentReleasing progress-linux version 1.75.0+dfsg1-5~progress7.99u1. (diff)
downloadrustc-9918693037dce8aa4bb6f08741b6812923486c18.tar.xz
rustc-9918693037dce8aa4bb6f08741b6812923486c18.zip
Merging upstream version 1.76.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/core-foundation-sys/src/lib.rs')
-rw-r--r--vendor/core-foundation-sys/src/lib.rs42
1 files changed, 37 insertions, 5 deletions
diff --git a/vendor/core-foundation-sys/src/lib.rs b/vendor/core-foundation-sys/src/lib.rs
index 48c08878b..948ce807d 100644
--- a/vendor/core-foundation-sys/src/lib.rs
+++ b/vendor/core-foundation-sys/src/lib.rs
@@ -6,37 +6,69 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
-#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, improper_ctypes)]
-
-#![cfg_attr(all(feature="mac_os_10_7_support", feature="mac_os_10_8_features"), feature(linkage))] // back-compat requires weak linkage
+#![allow(
+ non_snake_case,
+ non_camel_case_types,
+ non_upper_case_globals,
+ improper_ctypes
+)]
+#![cfg_attr(
+ all(feature = "mac_os_10_7_support", feature = "mac_os_10_8_features"),
+ feature(linkage)
+)] // back-compat requires weak linkage
// Link to CoreFoundation on any Apple device.
//
// We don't use `target_vendor` since that is going to be deprecated:
// https://github.com/rust-lang/lang-team/issues/102
#[cfg_attr(
- any(target_os = "macos", target_os = "ios", target_os = "tvos"),
+ all(
+ any(target_os = "macos", target_os = "ios", target_os = "tvos"),
+ feature = "link"
+ ),
link(name = "CoreFoundation", kind = "framework")
)]
extern "C" {}
pub mod array;
pub mod attributed_string;
+pub mod bag;
pub mod base;
+pub mod binary_heap;
+pub mod bit_vector;
pub mod bundle;
+pub mod calendar;
pub mod characterset;
pub mod data;
pub mod date;
+pub mod date_formatter;
pub mod dictionary;
pub mod error;
+pub mod file_security;
pub mod filedescriptor;
+pub mod locale;
+pub mod mach_port;
pub mod messageport;
+pub mod notification_center;
pub mod number;
+pub mod number_formatter;
+pub mod plugin;
+pub mod preferences;
pub mod propertylist;
pub mod runloop;
pub mod set;
+pub mod socket;
+pub mod stream;
pub mod string;
+pub mod string_tokenizer;
pub mod timezone;
+pub mod tree;
pub mod url;
+pub mod url_enumerator;
+#[cfg(target_os = "macos")]
+pub mod user_notification;
pub mod uuid;
-pub mod mach_port;
+#[cfg(target_os = "macos")]
+pub mod xml_node;
+#[cfg(target_os = "macos")]
+pub mod xml_parser;