summaryrefslogtreecommitdiff
path: root/test-project/src/lib.rs
diff options
context:
space:
mode:
authorbrotzeit <brotzeitmacher@gmail.com>2022-08-25 15:06:17 +0200
committerGitHub <noreply@github.com>2022-08-25 15:06:17 +0200
commit2d6bc53f526623e585aae5855a81a13b709df97d (patch)
tree236ce54544a20c9435c8835ae1ce6643be34e198 /test-project/src/lib.rs
parent894487d44c1664a9005cafd625fa99b54ff66c85 (diff)
parentc91d4ddad81ced33bfaf54581f7fc2dc95e32b40 (diff)
downloadrust-mode-2d6bc53f526623e585aae5855a81a13b709df97d.tar.gz
Merge pull request #457 from yanchith/workspace-aware-compilation
Make compilation buffer workspace-aware
Diffstat (limited to 'test-project/src/lib.rs')
-rw-r--r--test-project/src/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/test-project/src/lib.rs b/test-project/src/lib.rs
new file mode 100644
index 0000000..cdc8599
--- /dev/null
+++ b/test-project/src/lib.rs
@@ -0,0 +1,4 @@
+pub fn test_project() {
+ // This is only present, because cargo locate-project --workspace actually
+ // validates the rust project and fails if there is no target.
+}