mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 06:17:49 +00:00
Merge pull request #1399 from felixpackard/post-02-fix-typo
Fix typo when referencing the `rustc-abi` field.
This commit is contained in:
@@ -201,7 +201,7 @@ For more information, see our post on [disabling SIMD](@/edition-2/posts/02-mini
|
||||
"rustc-abi": "x86-softfloat"
|
||||
```
|
||||
|
||||
As we want to use the `soft-float` feature, we also need to tell the Rust compiler `rustc` that we want to use the corresponding ABI. We can do that by setting the `x86-softfloat` field to `x86-softfloat`.
|
||||
As we want to use the `soft-float` feature, we also need to tell the Rust compiler `rustc` that we want to use the corresponding ABI. We can do that by setting the `rustc-abi` field to `x86-softfloat`.
|
||||
|
||||
#### کنار هم قرار دادن
|
||||
فایل مشخصات هدف ما اکنون به این شکل است:
|
||||
|
||||
@@ -198,7 +198,7 @@ Pour plus d'informations, voir notre article sur la [désactivation de SIMD](@/e
|
||||
"rustc-abi": "x86-softfloat"
|
||||
```
|
||||
|
||||
As we want to use the `soft-float` feature, we also need to tell the Rust compiler `rustc` that we want to use the corresponding ABI. We can do that by setting the `x86-softfloat` field to `x86-softfloat`.
|
||||
As we want to use the `soft-float` feature, we also need to tell the Rust compiler `rustc` that we want to use the corresponding ABI. We can do that by setting the `rustc-abi` field to `x86-softfloat`.
|
||||
|
||||
#### Assembler le tout
|
||||
Notre fichier de spécification de cible ressemble maintenant à ceci :
|
||||
|
||||
@@ -195,7 +195,7 @@ SIMDを無効化することによる問題に、`x86_64`における浮動小
|
||||
"rustc-abi": "x86-softfloat"
|
||||
```
|
||||
|
||||
As we want to use the `soft-float` feature, we also need to tell the Rust compiler `rustc` that we want to use the corresponding ABI. We can do that by setting the `x86-softfloat` field to `x86-softfloat`.
|
||||
As we want to use the `soft-float` feature, we also need to tell the Rust compiler `rustc` that we want to use the corresponding ABI. We can do that by setting the `rustc-abi` field to `x86-softfloat`.
|
||||
|
||||
|
||||
#### まとめると
|
||||
|
||||
@@ -206,7 +206,7 @@ SIMD 레지스터 값들을 메모리에 백업하고 또 다시 복구하는
|
||||
"rustc-abi": "x86-softfloat"
|
||||
```
|
||||
|
||||
As we want to use the `soft-float` feature, we also need to tell the Rust compiler `rustc` that we want to use the corresponding ABI. We can do that by setting the `x86-softfloat` field to `x86-softfloat`.
|
||||
As we want to use the `soft-float` feature, we also need to tell the Rust compiler `rustc` that we want to use the corresponding ABI. We can do that by setting the `rustc-abi` field to `x86-softfloat`.
|
||||
|
||||
#### 요약
|
||||
컴파일 대상 환경 설정 파일을 아래와 같이 작성합니다:
|
||||
|
||||
@@ -193,7 +193,7 @@ For more information, see our post on [disabling SIMD](@/edition-2/posts/02-mini
|
||||
"rustc-abi": "x86-softfloat"
|
||||
```
|
||||
|
||||
As we want to use the `soft-float` feature, we also need to tell the Rust compiler `rustc` that we want to use the corresponding ABI. We can do that by setting the `x86-softfloat` field to `x86-softfloat`.
|
||||
As we want to use the `soft-float` feature, we also need to tell the Rust compiler `rustc` that we want to use the corresponding ABI. We can do that by setting the `rustc-abi` field to `x86-softfloat`.
|
||||
|
||||
#### Putting it Together
|
||||
Our target specification file now looks like this:
|
||||
|
||||
@@ -198,7 +198,7 @@ Cargo поддерживает различные целевые системы
|
||||
"rustc-abi": "x86-softfloat"
|
||||
```
|
||||
|
||||
As we want to use the `soft-float` feature, we also need to tell the Rust compiler `rustc` that we want to use the corresponding ABI. We can do that by setting the `x86-softfloat` field to `x86-softfloat`.
|
||||
As we want to use the `soft-float` feature, we also need to tell the Rust compiler `rustc` that we want to use the corresponding ABI. We can do that by setting the `rustc-abi` field to `x86-softfloat`.
|
||||
|
||||
#### Соединяем все вместе
|
||||
|
||||
|
||||
@@ -165,7 +165,7 @@ Nightly 版本的编译器允许我们在源码的开头插入**特性标签**
|
||||
"rustc-abi": "x86-softfloat"
|
||||
```
|
||||
|
||||
As we want to use the `soft-float` feature, we also need to tell the Rust compiler `rustc` that we want to use the corresponding ABI. We can do that by setting the `x86-softfloat` field to `x86-softfloat`.
|
||||
As we want to use the `soft-float` feature, we also need to tell the Rust compiler `rustc` that we want to use the corresponding ABI. We can do that by setting the `rustc-abi` field to `x86-softfloat`.
|
||||
|
||||
现在,我们将各个配置项整合在一起。我们的目标配置清单应该长这样:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user