pyoxidizer: switch to modern config using run_command instead of run_mode
authorAugie Fackler <augie@google.com>
Tue, 10 Nov 2020 12:44:15 -0500
changeset 45832 867385f45559
parent 45831 f14c33b2e497
child 45833 be6544a05e8f
pyoxidizer: switch to modern config using run_command instead of run_mode Differential Revision: https://phab.mercurial-scm.org/D9290
rust/hgcli/pyoxidizer.bzl
--- a/rust/hgcli/pyoxidizer.bzl	Tue Nov 03 16:25:33 2020 -0500
+++ b/rust/hgcli/pyoxidizer.bzl	Tue Nov 10 12:44:15 2020 -0500
@@ -49,7 +49,7 @@
 
     config = dist.make_python_interpreter_config()
     config.raw_allocator = "system"
-    config.run_mode = "eval:%s" % RUN_CODE
+    config.run_command = RUN_CODE
     # We want to let the user load extensions from the file system
     config.filesystem_importer = True
     # We need this to make resourceutil happy, since it looks for sys.frozen.