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

Allow opt-out the -ccbin flag #1085

Merged
merged 2 commits into from
Jun 7, 2024
Merged

Allow opt-out the -ccbin flag #1085

merged 2 commits into from
Jun 7, 2024

Conversation

QuarticCat
Copy link
Contributor

Closes #1084.

I'm not 100% sure how to design the API. My initial thought was ccbin: Option<String>. But given that we cannot specify C/C++ compiler through functions, it would be weird that we could do so for NVCC. We can still use CXX env anyway.

Also, I think enabling ccbin by default is weird. But I want to maintain backward compatibility.

Copy link
Collaborator

@NobodyXu NobodyXu left a comment

Choose a reason for hiding this comment

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

Thanks, it looks pretty good overall

src/lib.rs Outdated Show resolved Hide resolved
@NobodyXu NobodyXu merged commit 3c29aab into rust-lang:main Jun 7, 2024
24 checks passed
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.

[Feature Request] Remove -ccbin flag on demand
2 participants