We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf7af6c commit 36d188bCopy full SHA for 36d188b
open-codegen/opengen/builder/optimizer_builder.py
@@ -689,11 +689,11 @@ def __generate_code_python_bindings(self):
689
with open(target_python_rs_path, "w") as fh:
690
fh.write(python_rs_output_template)
691
692
- # move cargo_config into .cargo/config
+ # copy cargo_config into .cargo/config
693
target_cargo_config_dir = os.path.join(python_bindings_dir, '.cargo')
694
make_dir_if_not_exists(target_cargo_config_dir)
695
cargo_config_file = os.path.join(
696
- og_dfn.templates_dir(), 'python', 'cargo_config')
+ og_dfn.templates_dir(), 'cargo_config.toml')
697
shutil.copy(cargo_config_file, os.path.join(
698
target_cargo_config_dir, 'config.toml'))
699
open-codegen/opengen/templates/python/cargo_config
0 commit comments