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