Patchwork D9290: pyoxidizer: switch to modern config using run_command instead of run_mode

login
register
mail settings
Submitter phabricator
Date Nov. 10, 2020, 6:17 p.m.
Message ID <differential-rev-PHID-DREV-hwtgzfar2hrhocsxiw3u-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/47566/
State Superseded
Headers show

Comments

phabricator - Nov. 10, 2020, 6:17 p.m.
durin42 created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D9290

AFFECTED FILES
  rust/hgcli/pyoxidizer.bzl

CHANGE DETAILS




To: durin42, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

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 @@ 
 
     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.