Skip to content

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

@NobodyXu NobodyXu merged commit 3c29aab into rust-lang:main Jun 7, 2024
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