1error[E0455]: native frameworks are only available on macOS targets
2  --> $DIR/osx-frameworks.rs:3:1
3   |
4LL | #[link(name = "foo", kind = "framework")]
5   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
7error: aborting due to previous error
8
9For more information about this error, try `rustc --explain E0455`.
10