Skip to content

Commit 176a4a0

Browse files
committed
Target Detector: Default to building the whole project
1 parent 24c1985 commit 176a4a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rust/target_detect.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ def determine_targets(self, file_name, metadata=None):
6060
if result:
6161
return result
6262

63-
log.critical(self.window,
63+
log.log(self.window,
6464
'Rust Enhanced: Failed to find target for %r', file_name)
65-
return []
65+
return [(None, [])]
6666

6767
def _targets_manual_config(self, file_name):
6868
"""Check for Cargo targets in the Sublime settings."""

0 commit comments

Comments
 (0)