rust: enable vendor (#42365)

* rust: enable vendor

* rust: modify vendor description; move the call of variant

* rust: fix style

* rust: typo

* rust: remove variant 'vendor' to let vendoring as default fonctionality

---------

Co-authored-by: LydDeb <lyderic.debusschere@eolen.com>
This commit is contained in:
Lydéric Debusschère 2024-02-16 23:13:44 +01:00 committed by GitHub
parent e1779a2884
commit caf21dda42
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -165,6 +165,9 @@ def configure(self, spec, prefix):
# Compile tools into flag for configure.
flags.append(f"--tools={','.join(tools)}")
# Use vendored resources to perform offline build.
flags.append("--enable-vendor")
configure(*flags)
def build(self, spec, prefix):