# HG changeset patch # User Augie Fackler # Date 2020-11-10 17:44:15 # Node ID 867385f45559f4561806c2bee29240f98a4ced86 # Parent f14c33b2e497ab3938bc3be576a36a23b800e4d9 pyoxidizer: switch to modern config using run_command instead of run_mode Differential Revision: https://phab.mercurial-scm.org/D9290 diff --git a/rust/hgcli/pyoxidizer.bzl b/rust/hgcli/pyoxidizer.bzl --- a/rust/hgcli/pyoxidizer.bzl +++ b/rust/hgcli/pyoxidizer.bzl @@ -49,7 +49,7 @@ def make_exe(dist): 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.