зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1354221 - Remove dead code in _process_rust_library. r=froydnj
These variables are ignored in favour or reading the same values from the passed in libdef object. MozReview-Commit-ID: 8Xkkd68clNN --HG-- extra : rebase_source : 767c15f1b59a6f48d09411c4f2e64eff9f8b4cc6
This commit is contained in:
Родитель
222d5ebd0d
Коммит
1d688bb86c
|
@ -1244,11 +1244,6 @@ class RecursiveMakeBackend(CommonBackend):
|
|||
backend_file.write('NO_EXPAND_LIBS := 1\n')
|
||||
|
||||
def _process_rust_library(self, libdef, backend_file):
|
||||
lib_var = 'RUST_LIBRARY_FILE'
|
||||
feature_var = 'RUST_LIBRARY_FEATURES'
|
||||
if isinstance(libdef, HostRustLibrary):
|
||||
lib_var = 'HOST_RUST_LIBRARY_FILE'
|
||||
feature_var = 'HOST_RUST_LIBRARY_FEATURES'
|
||||
backend_file.write_once('%s := %s\n' % (libdef.LIB_FILE_VAR, libdef.import_name))
|
||||
backend_file.write('CARGO_FILE := $(srcdir)/Cargo.toml\n')
|
||||
# Need to normalize the path so Cargo sees the same paths from all
|
||||
|
|
Загрузка…
Ссылка в новой задаче