Skip to content

Commit ec8db8d

Browse files
author
Thomas Jespersen
committed
Add a note to the README concerning paths with spaces and link_deps()
If any of the paths added to target_rustcflags by link_deps() contain spaces, then compiletest breaks as `split_maybe_args` does not handle paths with spaces correctly.
1 parent 5ab1f2b commit ec8db8d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ let mut config = compiletest::Config::default();
7171
config.link_deps();
7272
```
7373

74+
Note that `link_deps()` should not be used if any of the added paths contain
75+
spaces, as these are currently not handled correctly.
76+
7477
Example
7578
-------
7679
See the `test-project` folder for a complete working example using the

0 commit comments

Comments
 (0)