diff --git a/crates/header-translator/src/main.rs b/crates/header-translator/src/main.rs index 76cbffb8b..084449a69 100644 --- a/crates/header-translator/src/main.rs +++ b/crates/header-translator/src/main.rs @@ -137,6 +137,8 @@ fn main() -> Result<(), BoxError> { // Make sure that we pick the IOSurfaceRef that IOSurface defines, // instead of the one that CoreGraphics defines. writeln!(&mut includes_file, "#import ")?; + // Part of .modulemap + writeln!(&mut includes_file, "#import ")?; for lib in config.libraries.values() { if !platform_config_filter(lib) { continue; diff --git a/framework-crates/objc2-core-foundation/Cargo.toml b/framework-crates/objc2-core-foundation/Cargo.toml index 9990cbf51..de363d046 100644 --- a/framework-crates/objc2-core-foundation/Cargo.toml +++ b/framework-crates/objc2-core-foundation/Cargo.toml @@ -71,6 +71,7 @@ CFNotificationCenter = [] CFNumber = [] CFNumberFormatter = ["bitflags"] CFPlugIn = [] +CFPluginCOM = [] CFPreferences = [] CFPropertyList = ["bitflags"] CFRunLoop = ["bitflags"] @@ -117,6 +118,7 @@ all = [ "CFNumber", "CFNumberFormatter", "CFPlugIn", + "CFPluginCOM", "CFPreferences", "CFPropertyList", "CFRunLoop", diff --git a/generated b/generated index 8c1845e9f..69ad7e0f3 160000 --- a/generated +++ b/generated @@ -1 +1 @@ -Subproject commit 8c1845e9f4dfa18565c18cac812e1205c44470d8 +Subproject commit 69ad7e0f3874cd0b661fc1977c9ea4e1151efc92