Skip to content

Commit 36d188b

Browse files
committed
cleanup: remove unnecessary file
1 parent bf7af6c commit 36d188b

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

open-codegen/opengen/builder/optimizer_builder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -689,11 +689,11 @@ def __generate_code_python_bindings(self):
689689
with open(target_python_rs_path, "w") as fh:
690690
fh.write(python_rs_output_template)
691691

692-
# move cargo_config into .cargo/config
692+
# copy cargo_config into .cargo/config
693693
target_cargo_config_dir = os.path.join(python_bindings_dir, '.cargo')
694694
make_dir_if_not_exists(target_cargo_config_dir)
695695
cargo_config_file = os.path.join(
696-
og_dfn.templates_dir(), 'python', 'cargo_config')
696+
og_dfn.templates_dir(), 'cargo_config.toml')
697697
shutil.copy(cargo_config_file, os.path.join(
698698
target_cargo_config_dir, 'config.toml'))
699699

open-codegen/opengen/templates/python/cargo_config

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)