changeset 45851:867385f45559

pyoxidizer: switch to modern config using run_command instead of run_mode Differential Revision: https://phab.mercurial-scm.org/D9290
author Augie Fackler <augie@google.com>
date Tue, 10 Nov 2020 12:44:15 -0500
parents f14c33b2e497
children be6544a05e8f
files rust/hgcli/pyoxidizer.bzl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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.