From 9e325de9c78e478bb9798d3a98c20af78a34a99a Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Thu, 7 Aug 2025 13:12:58 +0200 Subject: [PATCH] Update blog for `target-c-int-width` change See #1425 --- .../edition-2/posts/02-minimal-rust-kernel/index.es.md | 6 +++--- .../edition-2/posts/02-minimal-rust-kernel/index.fa.md | 6 +++--- .../edition-2/posts/02-minimal-rust-kernel/index.fr.md | 6 +++--- .../edition-2/posts/02-minimal-rust-kernel/index.ja.md | 6 +++--- .../edition-2/posts/02-minimal-rust-kernel/index.ko.md | 6 +++--- .../content/edition-2/posts/02-minimal-rust-kernel/index.md | 6 +++--- .../edition-2/posts/02-minimal-rust-kernel/index.ru.md | 6 +++--- .../edition-2/posts/02-minimal-rust-kernel/index.zh-CN.md | 6 +++--- 8 files changed, 24 insertions(+), 24 deletions(-) diff --git a/blog/content/edition-2/posts/02-minimal-rust-kernel/index.es.md b/blog/content/edition-2/posts/02-minimal-rust-kernel/index.es.md index 139c2622..eeb69e8b 100644 --- a/blog/content/edition-2/posts/02-minimal-rust-kernel/index.es.md +++ b/blog/content/edition-2/posts/02-minimal-rust-kernel/index.es.md @@ -119,7 +119,7 @@ Para nuestro sistema destino, sin embargo, requerimos algunos parámetros de con "arch": "x86_64", "target-endian": "little", "target-pointer-width": "64", - "target-c-int-width": "32", + "target-c-int-width": 32, "os": "linux", "executables": true, "linker-flavor": "gcc", @@ -142,7 +142,7 @@ Nuestro kernel también tiene como objetivo los sistemas `x86_64`, por lo que nu "arch": "x86_64", "target-endian": "little", "target-pointer-width": "64", - "target-c-int-width": "32", + "target-c-int-width": 32, "os": "none", "executables": true } @@ -203,7 +203,7 @@ Nuestro archivo de especificación de objetivo ahora se ve así: "arch": "x86_64", "target-endian": "little", "target-pointer-width": "64", - "target-c-int-width": "32", + "target-c-int-width": 32, "os": "none", "executables": true, "linker-flavor": "ld.lld", diff --git a/blog/content/edition-2/posts/02-minimal-rust-kernel/index.fa.md b/blog/content/edition-2/posts/02-minimal-rust-kernel/index.fa.md index a178ceef..246d0c7c 100644 --- a/blog/content/edition-2/posts/02-minimal-rust-kernel/index.fa.md +++ b/blog/content/edition-2/posts/02-minimal-rust-kernel/index.fa.md @@ -125,7 +125,7 @@ rtl = true "arch": "x86_64", "target-endian": "little", "target-pointer-width": "64", - "target-c-int-width": "32", + "target-c-int-width": 32, "os": "linux", "executables": true, "linker-flavor": "gcc", @@ -148,7 +148,7 @@ rtl = true "arch": "x86_64", "target-endian": "little", "target-pointer-width": "64", - "target-c-int-width": "32", + "target-c-int-width": 32, "os": "none", "executables": true } @@ -213,7 +213,7 @@ As we want to use the `soft-float` feature, we also need to tell the Rust compil "arch": "x86_64", "target-endian": "little", "target-pointer-width": "64", - "target-c-int-width": "32", + "target-c-int-width": 32, "os": "none", "executables": true, "linker-flavor": "ld.lld", diff --git a/blog/content/edition-2/posts/02-minimal-rust-kernel/index.fr.md b/blog/content/edition-2/posts/02-minimal-rust-kernel/index.fr.md index 1dbe07e7..3bb4241b 100644 --- a/blog/content/edition-2/posts/02-minimal-rust-kernel/index.fr.md +++ b/blog/content/edition-2/posts/02-minimal-rust-kernel/index.fr.md @@ -121,7 +121,7 @@ Pour notre système cible toutefois, nous avons besoin de paramètres de configu "arch": "x86_64", "target-endian": "little", "target-pointer-width": "64", - "target-c-int-width": "32", + "target-c-int-width": 32, "os": "linux", "executables": true, "linker-flavor": "gcc", @@ -144,7 +144,7 @@ Nous pouvons aussi cibler les systèmes `x86_64` avec notre noyau, donc notre sp "arch": "x86_64", "target-endian": "little", "target-pointer-width": "64", - "target-c-int-width": "32", + "target-c-int-width": 32, "os": "none", "executables": true } @@ -210,7 +210,7 @@ Notre fichier de spécification de cible ressemble maintenant à ceci : "arch": "x86_64", "target-endian": "little", "target-pointer-width": "64", - "target-c-int-width": "32", + "target-c-int-width": 32, "os": "none", "executables": true, "linker-flavor": "ld.lld", diff --git a/blog/content/edition-2/posts/02-minimal-rust-kernel/index.ja.md b/blog/content/edition-2/posts/02-minimal-rust-kernel/index.ja.md index faf191e4..8275a535 100644 --- a/blog/content/edition-2/posts/02-minimal-rust-kernel/index.ja.md +++ b/blog/content/edition-2/posts/02-minimal-rust-kernel/index.ja.md @@ -119,7 +119,7 @@ Cargoは`--target`パラメータを使ってさまざまなターゲットを "arch": "x86_64", "target-endian": "little", "target-pointer-width": "64", - "target-c-int-width": "32", + "target-c-int-width": 32, "os": "linux", "executables": true, "linker-flavor": "gcc", @@ -142,7 +142,7 @@ Cargoは`--target`パラメータを使ってさまざまなターゲットを "arch": "x86_64", "target-endian": "little", "target-pointer-width": "64", - "target-c-int-width": "32", + "target-c-int-width": 32, "os": "none", "executables": true } @@ -208,7 +208,7 @@ As we want to use the `soft-float` feature, we also need to tell the Rust compil "arch": "x86_64", "target-endian": "little", "target-pointer-width": "64", - "target-c-int-width": "32", + "target-c-int-width": 32, "os": "none", "executables": true, "linker-flavor": "ld.lld", diff --git a/blog/content/edition-2/posts/02-minimal-rust-kernel/index.ko.md b/blog/content/edition-2/posts/02-minimal-rust-kernel/index.ko.md index f1eaec8c..ed05a9b8 100644 --- a/blog/content/edition-2/posts/02-minimal-rust-kernel/index.ko.md +++ b/blog/content/edition-2/posts/02-minimal-rust-kernel/index.ko.md @@ -127,7 +127,7 @@ Cargo는 `--target` 인자를 통해 여러 컴파일 대상 시스템들을 지 "arch": "x86_64", "target-endian": "little", "target-pointer-width": "64", - "target-c-int-width": "32", + "target-c-int-width": 32, "os": "linux", "executables": true, "linker-flavor": "gcc", @@ -151,7 +151,7 @@ Cargo는 `--target` 인자를 통해 여러 컴파일 대상 시스템들을 지 "arch": "x86_64", "target-endian": "little", "target-pointer-width": "64", - "target-c-int-width": "32", + "target-c-int-width": 32, "os": "none", "executables": true } @@ -218,7 +218,7 @@ As we want to use the `soft-float` feature, we also need to tell the Rust compil "arch": "x86_64", "target-endian": "little", "target-pointer-width": "64", - "target-c-int-width": "32", + "target-c-int-width": 32, "os": "none", "executables": true, "linker-flavor": "ld.lld", diff --git a/blog/content/edition-2/posts/02-minimal-rust-kernel/index.md b/blog/content/edition-2/posts/02-minimal-rust-kernel/index.md index 81f224d2..122d2b2c 100644 --- a/blog/content/edition-2/posts/02-minimal-rust-kernel/index.md +++ b/blog/content/edition-2/posts/02-minimal-rust-kernel/index.md @@ -116,7 +116,7 @@ For our target system, however, we require some special configuration parameters "arch": "x86_64", "target-endian": "little", "target-pointer-width": "64", - "target-c-int-width": "32", + "target-c-int-width": 32, "os": "linux", "executables": true, "linker-flavor": "gcc", @@ -139,7 +139,7 @@ We also target `x86_64` systems with our kernel, so our target specification wil "arch": "x86_64", "target-endian": "little", "target-pointer-width": "64", - "target-c-int-width": "32", + "target-c-int-width": 32, "os": "none", "executables": true } @@ -205,7 +205,7 @@ Our target specification file now looks like this: "arch": "x86_64", "target-endian": "little", "target-pointer-width": "64", - "target-c-int-width": "32", + "target-c-int-width": 32, "os": "none", "executables": true, "linker-flavor": "ld.lld", diff --git a/blog/content/edition-2/posts/02-minimal-rust-kernel/index.ru.md b/blog/content/edition-2/posts/02-minimal-rust-kernel/index.ru.md index bcf97fa7..b3039160 100644 --- a/blog/content/edition-2/posts/02-minimal-rust-kernel/index.ru.md +++ b/blog/content/edition-2/posts/02-minimal-rust-kernel/index.ru.md @@ -122,7 +122,7 @@ Cargo поддерживает различные целевые системы "arch": "x86_64", "target-endian": "little", "target-pointer-width": "64", - "target-c-int-width": "32", + "target-c-int-width": 32, "os": "linux", "executables": true, "linker-flavor": "gcc", @@ -145,7 +145,7 @@ Cargo поддерживает различные целевые системы "arch": "x86_64", "target-endian": "little", "target-pointer-width": "64", - "target-c-int-width": "32", + "target-c-int-width": 32, "os": "none", "executables": true } @@ -211,7 +211,7 @@ As we want to use the `soft-float` feature, we also need to tell the Rust compil "arch": "x86_64", "target-endian": "little", "target-pointer-width": "64", - "target-c-int-width": "32", + "target-c-int-width": 32, "os": "none", "executables": true, "linker-flavor": "ld.lld", diff --git a/blog/content/edition-2/posts/02-minimal-rust-kernel/index.zh-CN.md b/blog/content/edition-2/posts/02-minimal-rust-kernel/index.zh-CN.md index afdd9a6f..cc9af5e1 100644 --- a/blog/content/edition-2/posts/02-minimal-rust-kernel/index.zh-CN.md +++ b/blog/content/edition-2/posts/02-minimal-rust-kernel/index.zh-CN.md @@ -96,7 +96,7 @@ Nightly 版本的编译器允许我们在源码的开头插入**特性标签** "arch": "x86_64", "target-endian": "little", "target-pointer-width": "64", - "target-c-int-width": "32", + "target-c-int-width": 32, "os": "linux", "executables": true, "linker-flavor": "gcc", @@ -116,7 +116,7 @@ Nightly 版本的编译器允许我们在源码的开头插入**特性标签** "arch": "x86_64", "target-endian": "little", "target-pointer-width": "64", - "target-c-int-width": "32", + "target-c-int-width": 32, "os": "none", "executables": true } @@ -176,7 +176,7 @@ As we want to use the `soft-float` feature, we also need to tell the Rust compil "arch": "x86_64", "target-endian": "little", "target-pointer-width": "64", - "target-c-int-width": "32", + "target-c-int-width": 32, "os": "none", "executables": true, "linker-flavor": "ld.lld",