Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 2 Packages Projects Releases Wiki Activity
Files
c52ce4eabba65fcc47ce92c20c3e7e6dd73f77df
rust/tests/ui/osx-frameworks.rs

8 lines
193 B
Rust
Raw Normal View History

[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
2024-02-16 20:02:50 +00:00
//@ ignore-macos this is supposed to succeed on osx
Support OSX frameworks This adds support to link to OSX frameworks via the new link attribute when using `kind = "framework"`. It is a compiler error to request linkage to a framework when the target is not macos because other platforms don't support frameworks. Closes #2023
2013-11-30 11:39:55 -08:00
#[link(name = "foo", kind = "framework")]
Update tests for extern block linting
2020-09-01 17:12:52 -04:00
extern "C" {}
rustc: Stricter checking for #[link] attributes
2022-03-14 13:28:34 +03:00
//~^^ ERROR: link kind `framework` is only supported on Apple targets
Support OSX frameworks This adds support to link to OSX frameworks via the new link attribute when using `kind = "framework"`. It is a compiler error to request linkage to a framework when the target is not macos because other platforms don't support frameworks. Closes #2023
2013-11-30 11:39:55 -08:00
Update tests for extern block linting
2020-09-01 17:12:52 -04:00
fn main() {}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 4297ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API