11% Intrinsics
22
3- > ** Note** : intrinsics will forever have an unstable interface, it is
4- > recommended to use the stable interfaces of libcore rather than intrinsics
5- > directly.
3+ <!-- > **Note**: intrinsics will forever have an unstable interface, it is -->
4+ <!-- > recommended to use the stable interfaces of libcore rather than intrinsics -->
5+ <!-- > directly. -->
6+ > ** メモ** : intrinsicsのインタフェースは常に不安定です、intrinsicsを直接利用するのではなく、
7+ > libcoreの安定なインタフェースを利用することを推奨します。
68
7- These are imported as if they were FFI functions, with the special
8- ` rust-intrinsic ` ABI. For example, if one was in a freestanding
9- context, but wished to be able to ` transmute ` between types, and
10- perform efficient pointer arithmetic, one would import those functions
11- via a declaration like
9+ <!-- These are imported as if they were FFI functions, with the special -->
10+ <!-- `rust-intrinsic` ABI. For example, if one was in a freestanding -->
11+ <!-- context, but wished to be able to `transmute` between types, and -->
12+ <!-- perform efficient pointer arithmetic, one would import those functions -->
13+ <!-- via a declaration like -->
14+ intrinsicsは特別なABI ` rust-intrinsic ` を用いて、FFIの関数で有るかのようにインポートされます。
15+ 例えば、独立したコンテキストの中で型の間の ` transmute ` をしたい場合や、効率的なポインタ演算を行いたい場合、
16+ それらの関数を以下のような宣言を通してインポートします
1217
1318``` rust
1419#![feature(intrinsics)]
@@ -21,5 +26,5 @@ extern "rust-intrinsic" {
2126}
2227```
2328
24- As with any other FFI functions, these are always ` unsafe ` to call.
25-
29+ <!-- As with any other FFI functions, these are always `unsafe` to call. -->
30+ 他のFFI関数と同様に、呼出は常に ` unsafe ` です。
0 commit comments