Skip to content

fix: add compiler(c) per default with pixi-build-rust#5457

Merged
Hofer-Julian merged 1 commit intoprefix-dev:mainfrom
Hofer-Julian:push-ymqnskurxltt
Feb 10, 2026
Merged

fix: add compiler(c) per default with pixi-build-rust#5457
Hofer-Julian merged 1 commit intoprefix-dev:mainfrom
Hofer-Julian:push-ymqnskurxltt

Conversation

@Hofer-Julian
Copy link
Contributor

Description

All Rust compilers depend on a C compiler on conda-forge. For example, rust_linux_64 depends on gcc_linux-64 without version bounds.

If that is already the case it makes sense to just add the c compiler per default. That way, you can the c_compiler_version variant will actually affect the version of the used C compiler

How Has This Been Tested?

pixi run test-fast

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation

@Hofer-Julian Hofer-Julian changed the title fix: add compiler(c) per default with pixi-build-rust fix: add compiler(c) per default with pixi-build-rust Feb 6, 2026
@Hofer-Julian Hofer-Julian force-pushed the push-ymqnskurxltt branch 2 times, most recently from 22b3090 to 9e1a769 Compare February 6, 2026 14:56
Comment on lines 83 to 84
// Get the list of compilers from config, defaulting to ["rust", "c"] if not
// specified
Copy link
Contributor

Choose a reason for hiding this comment

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

Your explainer in the PR description was very helpful as I was confused by this. What do you think about this line?

Suggested change
// Get the list of compilers from config, defaulting to ["rust", "c"] if not
// specified
// Get the list of compilers from config, defaulting to ["rust", "c"] if not
// specified. The rust compilers already depend on the compiler.
// Adding it here helps with versioning it throug the variants.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@Hofer-Julian Hofer-Julian enabled auto-merge (squash) February 10, 2026 08:46
@Hofer-Julian Hofer-Julian merged commit 3ec53d5 into prefix-dev:main Feb 10, 2026
40 checks passed
@Hofer-Julian Hofer-Julian deleted the push-ymqnskurxltt branch February 10, 2026 08:58
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.

3 participants