From 86b6323d1c415b8ffad0fa7b8d39e6fe4c19eb65 Mon Sep 17 00:00:00 2001 From: Thomas Jespersen Date: Thu, 12 Oct 2017 22:47:07 +0200 Subject: [PATCH] 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. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 4419651..44879b3 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,9 @@ let mut config = compiletest::Config::default(); config.link_deps(); ``` +Note that `link_deps()` should not be used if any of the added paths contain +spaces, as these are currently not handled correctly. + Example ------- See the `test-project` folder for a complete working example using the