質問編集履歴
2
固有名詞を削除
test
CHANGED
File without changes
|
test
CHANGED
@@ -102,7 +102,7 @@
|
|
102
102
|
|
103
103
|
version = "0.1.0"
|
104
104
|
|
105
|
-
|
105
|
+
|
106
106
|
|
107
107
|
edition = "2018"
|
108
108
|
|
1
cargo.tomlファイルの定義を参照
test
CHANGED
File without changes
|
test
CHANGED
@@ -88,6 +88,58 @@
|
|
88
88
|
|
89
89
|
|
90
90
|
|
91
|
+
ちなみに、
|
92
|
+
|
93
|
+
cargo.tomlファイルは下記のように定義しています。
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
```toml
|
98
|
+
|
99
|
+
[package]
|
100
|
+
|
101
|
+
name = "rust_ishell"
|
102
|
+
|
103
|
+
version = "0.1.0"
|
104
|
+
|
105
|
+
authors = ["●●●● ●●●● <●●●●>"]
|
106
|
+
|
107
|
+
edition = "2018"
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
[dependencies]
|
116
|
+
|
117
|
+
ctrlc = "*"
|
118
|
+
|
119
|
+
tempfile = "*"
|
120
|
+
|
121
|
+
tempdir = "*"
|
122
|
+
|
123
|
+
cstr_core = "*"
|
124
|
+
|
125
|
+
libc = "*"
|
126
|
+
|
127
|
+
printf = "*"
|
128
|
+
|
129
|
+
printf-rs = "*"
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
[profile.release]
|
134
|
+
|
135
|
+
opt-level = 3
|
136
|
+
|
137
|
+
```
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
|
91
143
|
ただ、Rustのマニュアルにある、fputs関数は、下記のように記述したところ
|
92
144
|
|
93
145
|
動作しています。
|