Skip to content

Commit 21e774d

Browse files
committed
Update getting-started.md (WIP)
1 parent d6d9e4e commit 21e774d

File tree

1 file changed

+24
-47
lines changed

1 file changed

+24
-47
lines changed

1.9/ja/book/getting-started.md

Lines changed: 24 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
% はじめる
22
<!-- % Getting Started -->
33

4-
<!-- This first section of the book will get us going with Rust and its tooling. -->
4+
<!-- This first chapter of the book will get us going with Rust and its tooling. -->
55
<!-- First, we’ll install Rust. Then, the classic ‘Hello World’ program. Finally, -->
66
<!-- we’ll talk about Cargo, Rust’s build system and package manager. -->
7-
この一番最初のセクションでRustとツールの使い方をやっていきます
7+
この一番最初の章でRustとツールの使い方をやっていきます
88
最初にRustをインストールします。そしてお決まりの「Hello World」をやります。
99
最後にRustのビルドシステム兼パッケージマネージャのCargoについて話します。
1010

1111
<!-- # Installing Rust -->
1212
# Rustのインストール
1313

1414
<!-- The first step to using Rust is to install it. Generally speaking, you’ll need -->
15-
<!-- an Internet connection to run the commands in this chapter, as we’ll be -->
15+
<!-- an Internet connection to run the commands in this section, as we’ll be -->
1616
<!-- downloading Rust from the internet. -->
1717
Rustを使い始める最初のステップはインストールです。
18-
この章のコマンドでインターネットからRustのダウンロードをするのでインターネットへの接続が必要でしょう
18+
このセクションでは、コマンドでインターネットからRustのダウンロードをするのでインターネットへの接続が必要でしょう
1919

2020
<!-- We’ll be showing off a number of commands using a terminal, and those lines all -->
2121
<!-- start with `$`. We don't need to type in the `$`s, they are there to indicate -->
@@ -61,6 +61,7 @@ Rustのサポートレベルは3階級に分かれていて、それぞれ違う
6161

6262
| Target | std |rustc|cargo| notes |
6363
|-------------------------------|-----|-----|-----|----------------------------|
64+
| `i686-pc-windows-msvc` |||| 32-bit MSVC (Windows 7+) |
6465
| `x86_64-pc-windows-msvc` |||| 64-bit MSVC (Windows 7+) |
6566
| `i686-pc-windows-gnu` |||| 32-bit MinGW (Windows 7+) |
6667
| `x86_64-pc-windows-gnu` |||| 64-bit MinGW (Windows 7+) |
@@ -92,7 +93,13 @@ Rustのサポートレベルは3階級に分かれていて、それぞれ違う
9293

9394
| Target | std |rustc|cargo| notes |
9495
|-------------------------------|-----|-----|-----|----------------------------|
95-
| `i686-pc-windows-msvc` |||| 32-bit MSVC (Windows 7+) |
96+
| `x86_64-unknown-linux-musl` || | | 64-bit Linux with MUSL |
97+
| `arm-linux-androideabi` || | | ARM Android |
98+
| `arm-unknown-linux-gnueabi` ||| | ARM Linux (2.6.18+) |
99+
| `arm-unknown-linux-gnueabihf` ||| | ARM Linux (2.6.18+) |
100+
| `aarch64-unknown-linux-gnu` || | | ARM64 Linux (2.6.18+) |
101+
| `mips-unknown-linux-gnu` || | | MIPS Linux (2.6.18+) |
102+
| `mipsel-unknown-linux-gnu` || | | MIPS (LE) Linux (2.6.18+) |
96103

97104
<!-- ### Tier 3 -->
98105
### 3級
@@ -110,28 +117,25 @@ Rustのサポートレベルは3階級に分かれていて、それぞれ違う
110117

111118
| Target | std |rustc|cargo| notes |
112119
|-------------------------------|-----|-----|-----|----------------------------|
113-
| `x86_64-unknown-linux-musl` || | | 64-bit Linux with MUSL |
114-
| `arm-linux-androideabi` || | | ARM Android |
115120
| `i686-linux-android` || | | 32-bit x86 Android |
116121
| `aarch64-linux-android` || | | ARM64 Android |
117-
| `arm-unknown-linux-gnueabi` ||| | ARM Linux (2.6.18+) |
118-
| `arm-unknown-linux-gnueabihf` ||| | ARM Linux (2.6.18+) |
119-
| `aarch64-unknown-linux-gnu` || | | ARM64 Linux (2.6.18+) |
120-
| `mips-unknown-linux-gnu` || | | MIPS Linux (2.6.18+) |
121-
| `mipsel-unknown-linux-gnu` || | | MIPS (LE) Linux (2.6.18+) |
122122
| `powerpc-unknown-linux-gnu` || | | PowerPC Linux (2.6.18+) |
123+
| `powerpc64-unknown-linux-gnu` || | | PPC64 Linux (2.6.18+) |
124+
|`powerpc64le-unknown-linux-gnu`|| | | PPC64LE Linux (2.6.18+) |
125+
|`armv7-unknown-linux-gnueabihf`|| | | ARMv7 Linux (2.6.18+) |
123126
| `i386-apple-ios` || | | 32-bit x86 iOS |
124127
| `x86_64-apple-ios` || | | 64-bit x86 iOS |
125128
| `armv7-apple-ios` || | | ARM iOS |
126129
| `armv7s-apple-ios` || | | ARM iOS |
127130
| `aarch64-apple-ios` || | | ARM64 iOS |
128-
| `i686-unknown-freebsd` ||| | 32-bit FreeBSD |
129-
| `x86_64-unknown-freebsd` ||| | 64-bit FreeBSD |
131+
| `i686-unknown-freebsd` ||| | 32-bit FreeBSD |
132+
| `x86_64-unknown-freebsd` ||| | 64-bit FreeBSD |
130133
| `x86_64-unknown-openbsd` ||| | 64-bit OpenBSD |
131134
| `x86_64-unknown-netbsd` ||| | 64-bit NetBSD |
132135
| `x86_64-unknown-bitrig` ||| | 64-bit Bitrig |
133136
| `x86_64-unknown-dragonfly` ||| | 64-bit DragonFlyBSD |
134137
| `x86_64-rumprun-netbsd` || | | 64-bit NetBSD Rump Kernel |
138+
| `x86_64-sun-solaris` ||| | 64-bit Solaris/SunOS |
135139
| `i686-pc-windows-msvc` (XP) || | | Windows XP support |
136140
| `x86_64-pc-windows-msvc` (XP) || | | Windows XP support |
137141

@@ -151,47 +155,20 @@ LinuxかMacを使っているなら以下を入力するだけです
151155
$ curl -sSf https://static.rust-lang.org/rustup.sh | sh
152156
```
153157

154-
<!-- This will download a script, and stat the installation. If it all goes well, -->
158+
<!-- This will download a script, and start the installation. If it all goes well, -->
155159
<!-- you’ll see this appear: -->
156160
このコマンドでスクリプトをダウンロードしインストールを始めます。
157161
全て上手くいったら以下が表示される筈です。
158162

159163
```text
160-
Welcome to Rust.
161-
162-
This script will download the Rust compiler and its package manager, Cargo, and
163-
install them to /usr/local. You may install elsewhere by running this script
164-
with the --prefix=<path> option.
165-
166-
The installer will run under ‘sudo’ and may ask you for your password. If you do
167-
not want the script to run ‘sudo’ then pass it the --disable-sudo flag.
168-
169-
You may uninstall later by running /usr/local/lib/rustlib/uninstall.sh,
170-
or by running this script again with the --uninstall flag.
171-
172-
Continue? (y/N)
164+
Rust is ready to roll.
173165
```
174166

175167
> 訳注:
176-
>
177-
>
168+
>
169+
>
178170
> ```text
179-
> Rustへようこそ。
180-
>
181-
> このスクリプトはRustコンパイラとそのパッケージマネージャCargoをダウンロードし、/usr/local
182-
> へとインストールします。--prefix=<path> オプションを使うことで他の場所へインストール
183-
> 出来ます。
184-
>
185-
> インストーラは「sudo」下で走るのでパスワードを尋きます。もし'sudo'を使ってほしくないなら
186-
> --disable-sudo フラグを渡します。
187-
>
188-
> You may uninstall later by running /usr/local/lib/rustlib/uninstall.sh,
189-
> or by running this script again with the --uninstall flag.
190-
>
191-
> /usr/local/lib/rustlib/uninstall.shを実行するかこのスクリプトに--uninstallフラグを
192-
> 付けて実行することで後程アンインストール出来ます。
193-
>
194-
> 続けますか? (y/N)
171+
> Rustを使う準備ができました。
195172
> ```
196173
197174
<!-- From here, press `y` for ‘yes’, and then follow the rest of the prompts. -->
@@ -208,7 +185,7 @@ Windowsを使っているなら適切な[インストーラ][install-page]をダ
208185
<!-- ## Uninstalling -->
209186
## アンインストール
210187
211-
<!-- Uninstalling Rust is as easy as installing it. On Linux or Mac, just run -->
188+
<!-- Uninstalling Rust is as easy as installing it. On Linux or Mac, run -->
212189
<!-- the uninstall script: -->
213190
Rustのアンインストールはインストールと同じくらい簡単です。
214191
LinuxかMacならアンインストールスクリプトを使うだけです。

0 commit comments

Comments
 (0)