OS X Framework support #2023
Labels
A-attributes
Area: Attributes (`#[…]`, `#![…]`)
A-driver
Area: rustc_driver that ties everything together into the `rustc` compiler
A-linkage
Area: linking into static, shared libraries and binaries
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
O-macos
Operating system: macOS
Currently, I do not see any way of linking against a native framework in OS X. For instance, if you wanted to link against OpenGL on OS X, it currently fails to find the native library.
Its possible to just create .o files and link them but it would be nice if there was some way for this to work with the rust compiler.
One possibility could be to add a #[framework_name = "OpenGL"] attribute to the native mod, similar to #[link_name].
The text was updated successfully, but these errors were encountered: