質問するログイン新規登録

質問編集履歴

2

固有名詞を削除

2020/06/28 08:06

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -50,7 +50,7 @@
50
50
  [package]
51
51
  name = "rust_ishell"
52
52
  version = "0.1.0"
53
- authors = ["●●●● ●●●● <●●●●>"]
53
+
54
54
  edition = "2018"
55
55
 
56
56
  # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

1

cargo.tomlファイルの定義を参照

2020/06/28 08:06

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -43,6 +43,32 @@
43
43
 
44
44
  ```
45
45
 
46
+ ちなみに、
47
+ cargo.tomlファイルは下記のように定義しています。
48
+
49
+ ```toml
50
+ [package]
51
+ name = "rust_ishell"
52
+ version = "0.1.0"
53
+ authors = ["●●●● ●●●● <●●●●>"]
54
+ edition = "2018"
55
+
56
+ # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
57
+
58
+ [dependencies]
59
+ ctrlc = "*"
60
+ tempfile = "*"
61
+ tempdir = "*"
62
+ cstr_core = "*"
63
+ libc = "*"
64
+ printf = "*"
65
+ printf-rs = "*"
66
+
67
+ [profile.release]
68
+ opt-level = 3
69
+ ```
70
+
71
+
46
72
  ただ、Rustのマニュアルにある、fputs関数は、下記のように記述したところ
47
73
  動作しています。
48
74