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
359bfa901b9d8eddbed7b88b6716dbb77b7bfb95
rust/tests/ui/feature-gates/feature-gate-link_llvm_intrinsics.rs

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

8 lines
146 B
Rust
Raw Normal View History

Update tests for extern block linting
2020-09-01 17:12:52 -04:00
extern "C" {
Add tests checking that a number of feature gates are gating their features. Namely: * `quote` * `link_args` * `link_llvm_intrinsics` * `thread_local` * `unsafe_destructor` Also updates test for `plugin_registrar` to make it clear that it is only testing the `plugin_registrar` feature gate. Cc #22820.
2015-03-09 19:18:43 +01:00
#[link_name = "llvm.sqrt.f32"]
fn sqrt(x: f32) -> f32;
Update tests for extern block linting
2020-09-01 17:12:52 -04:00
//~^ ERROR linking to LLVM intrinsics is experimental
Add tests checking that a number of feature gates are gating their features. Namely: * `quote` * `link_args` * `link_llvm_intrinsics` * `thread_local` * `unsafe_destructor` Also updates test for `plugin_registrar` to make it clear that it is only testing the `plugin_registrar` feature gate. Cc #22820.
2015-03-09 19:18:43 +01: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: 3950ms Template: 4ms
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