Skip to content

Commit fe8340a

Browse files
roxellshuahkh
authored andcommitted
selftests: rust: config: add trailing newline
If adding multiple config files to the merge_config.sh script and rust/config is the fist one, then the last config fragment in this file and the first config fragment in the second file won't be set, since there isn't a newline in this file, so those two fragements end up at the same row like: CONFIG_SAMPLE_RUST_PRINT=mCONFIG_FRAGMENT=y And non of those will be enabled when running 'olddefconfig' after. Fixing the issue by adding a newline to the file. Signed-off-by: Anders Roxell <[email protected]> Acked-by: Miguel Ojeda <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
1 parent 53af1a4 commit fe8340a

File tree

1 file changed

+1
-1
lines changed
  • tools/testing/selftests/rust

1 file changed

+1
-1
lines changed

tools/testing/selftests/rust/config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ CONFIG_RUST=y
22
CONFIG_SAMPLES=y
33
CONFIG_SAMPLES_RUST=y
44
CONFIG_SAMPLE_RUST_MINIMAL=m
5-
CONFIG_SAMPLE_RUST_PRINT=m
5+
CONFIG_SAMPLE_RUST_PRINT=m

0 commit comments

Comments
 (0)