Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update binding_generator.py #1702

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update binding_generator.py #1702

wants to merge 1 commit into from

Conversation

zhmt
Copy link

@zhmt zhmt commented Feb 7, 2025

It should be ok when folds exist. It will fail to build without this patch, in vs code on windows with compiler ( visual studio community 2022 amd 64) .

It should be ok when folds exist. It will fail to build without this patch,  in vs code on windows with compiler ( visual studio community 2022 amd 64) .
@zhmt zhmt requested a review from a team as a code owner February 7, 2025 08:02
@@ -285,7 +285,7 @@ def _generate_bindings(api, use_template_get_node, bits="64", precision="single"
target_dir = Path(output_dir) / "gen"

shutil.rmtree(target_dir, ignore_errors=True)
target_dir.mkdir(parents=True)
target_dir.mkdir(parents=True,exist_ok=True)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
target_dir.mkdir(parents=True,exist_ok=True)
target_dir.mkdir(parents=True, exist_ok=True)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants