pyoxidizer: switch to modern config using run_command instead of run_mode
Differential Revision: https://phab.mercurial-scm.org/D9290
--- 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.