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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
192 B
Rust
Raw Normal View History

Change `xfail` directives in compiletests to `ignore`, closes #11363
2014-02-07 20:08:32 +01: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: 6299ms 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