Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1323c82

Browse files
Remove RA helper target from Makefile
1 parent b836655 commit 1323c82

File tree

39 files changed

+42
-126
lines changed

39 files changed

+42
-126
lines changed

‎01_wait_forever/.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"editor.rulers": [100],
44
"rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
55
"rust-analyzer.cargo.features": ["bsp_rpi3"],
6-
"rust-analyzer.checkOnSave.overrideCommand": ["make", "check"],
6+
"rust-analyzer.checkOnSave.allTargets": false,
7+
"rust-analyzer.checkOnSave.extraArgs": ["--lib", "--bins"],
78
"rust-analyzer.lens.debug": false,
89
"rust-analyzer.lens.run": false
910
}

‎01_wait_forever/Makefile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,3 @@ nm: $(KERNEL_ELF)
190190
$(call color_header, "Launching nm")
191191
@$(DOCKER_TOOLS) $(NM_BINARY) --demangle --print-size $(KERNEL_ELF) | sort | rustfilt
192192

193-
##------------------------------------------------------------------------------
194-
## Helper target for rust-analyzer
195-
##------------------------------------------------------------------------------
196-
check:
197-
@RUSTFLAGS="$(RUSTFLAGS)" $(CHECK_CMD) --message-format=json

‎02_runtime_init/.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"editor.rulers": [100],
44
"rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
55
"rust-analyzer.cargo.features": ["bsp_rpi3"],
6-
"rust-analyzer.checkOnSave.overrideCommand": ["make", "check"],
6+
"rust-analyzer.checkOnSave.allTargets": false,
7+
"rust-analyzer.checkOnSave.extraArgs": ["--lib", "--bins"],
78
"rust-analyzer.lens.debug": false,
89
"rust-analyzer.lens.run": false
910
}

‎02_runtime_init/Makefile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,3 @@ nm: $(KERNEL_ELF)
192192
$(call color_header, "Launching nm")
193193
@$(DOCKER_TOOLS) $(NM_BINARY) --demangle --print-size $(KERNEL_ELF) | sort | rustfilt
194194

195-
##------------------------------------------------------------------------------
196-
## Helper target for rust-analyzer
197-
##------------------------------------------------------------------------------
198-
check:
199-
@RUSTFLAGS="$(RUSTFLAGS)" $(CHECK_CMD) --message-format=json

‎03_hacky_hello_world/.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"editor.rulers": [100],
44
"rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
55
"rust-analyzer.cargo.features": ["bsp_rpi3"],
6-
"rust-analyzer.checkOnSave.overrideCommand": ["make", "check"],
6+
"rust-analyzer.checkOnSave.allTargets": false,
7+
"rust-analyzer.checkOnSave.extraArgs": ["--lib", "--bins"],
78
"rust-analyzer.lens.debug": false,
89
"rust-analyzer.lens.run": false
910
}

‎03_hacky_hello_world/Makefile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -195,12 +195,6 @@ nm: $(KERNEL_ELF)
195195
$(call color_header, "Launching nm")
196196
@$(DOCKER_TOOLS) $(NM_BINARY) --demangle --print-size $(KERNEL_ELF) | sort | rustfilt
197197

198-
##------------------------------------------------------------------------------
199-
## Helper target for rust-analyzer
200-
##------------------------------------------------------------------------------
201-
check:
202-
@RUSTFLAGS="$(RUSTFLAGS)" $(CHECK_CMD) --message-format=json
203-
204198

205199

206200
##--------------------------------------------------------------------------------------------------

‎03_hacky_hello_world/README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,10 @@ diff -uNr 02_runtime_init/Makefile 03_hacky_hello_world/Makefile
9494

9595

9696

97-
@@ -197,3 +200,28 @@
98-
##------------------------------------------------------------------------------
99-
check:
100-
@RUSTFLAGS="$(RUSTFLAGS)" $(CHECK_CMD) --message-format=json
101-
+
97+
@@ -192,3 +195,27 @@
98+
$(call color_header, "Launching nm")
99+
@$(DOCKER_TOOLS) $(NM_BINARY) --demangle --print-size $(KERNEL_ELF) | sort | rustfilt
100+
102101
+
103102
+
104103
+##--------------------------------------------------------------------------------------------------

‎04_safe_globals/.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"editor.rulers": [100],
44
"rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
55
"rust-analyzer.cargo.features": ["bsp_rpi3"],
6-
"rust-analyzer.checkOnSave.overrideCommand": ["make", "check"],
6+
"rust-analyzer.checkOnSave.allTargets": false,
7+
"rust-analyzer.checkOnSave.extraArgs": ["--lib", "--bins"],
78
"rust-analyzer.lens.debug": false,
89
"rust-analyzer.lens.run": false
910
}

‎04_safe_globals/Makefile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -195,12 +195,6 @@ nm: $(KERNEL_ELF)
195195
$(call color_header, "Launching nm")
196196
@$(DOCKER_TOOLS) $(NM_BINARY) --demangle --print-size $(KERNEL_ELF) | sort | rustfilt
197197

198-
##------------------------------------------------------------------------------
199-
## Helper target for rust-analyzer
200-
##------------------------------------------------------------------------------
201-
check:
202-
@RUSTFLAGS="$(RUSTFLAGS)" $(CHECK_CMD) --message-format=json
203-
204198

205199

206200
##--------------------------------------------------------------------------------------------------

‎05_drivers_gpio_uart/.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"editor.rulers": [100],
44
"rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
55
"rust-analyzer.cargo.features": ["bsp_rpi3"],
6-
"rust-analyzer.checkOnSave.overrideCommand": ["make", "check"],
6+
"rust-analyzer.checkOnSave.allTargets": false,
7+
"rust-analyzer.checkOnSave.extraArgs": ["--lib", "--bins"],
78
"rust-analyzer.lens.debug": false,
89
"rust-analyzer.lens.run": false
910
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /