diff --git a/rust/hgcli/pyoxidizer.bzl b/rust/hgcli/pyoxidizer.bzl
index 9438e9b7321a5ddea820ee6abe6acdda19906527_cnVzdC9oZ2NsaS9weW94aWRpemVyLmJ6bA==..3380848c6e047ee433f72104ea98352534cccf92_cnVzdC9oZ2NsaS9weW94aWRpemVyLmJ6bA== 100644
--- a/rust/hgcli/pyoxidizer.bzl
+++ b/rust/hgcli/pyoxidizer.bzl
@@ -47,7 +47,7 @@
     packaging_policy.register_resource_callback(resource_callback)
 
     config = dist.make_python_interpreter_config()
-    config.raw_allocator = "system"
+    config.allocator_backend = "default"
     config.run_command = RUN_CODE
 
     # We want to let the user load extensions from the file system