diff options
Diffstat (limited to 'components/rust/SConscript')
| -rw-r--r-- | components/rust/SConscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/rust/SConscript b/components/rust/SConscript index ab84bd7a14..97b40ad6c5 100644 --- a/components/rust/SConscript +++ b/components/rust/SConscript @@ -10,7 +10,7 @@ def _has(sym: str) -> bool: except Exception: return bool(GetDepend(sym)) -if not _has('RT_USING_RUST'): +if not _has('RT_USING_RUST') and not GetOption('clean'): Return('objs') cwd = GetCurrentDir() |
