Closed
Description
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].
Metadata
Metadata
Assignees
Labels
Area: Attributes (`#[…]`, `#![…]`)Area: rustc_driver that ties everything together into the `rustc` compilerArea: linking into static, shared libraries and binariesCategory: An issue proposing an enhancement or a PR with one.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Operating system: macOS