Conversation
ba3c34a to
bb82fbb
Compare
|
To trigger the different code paths, on checking the run_exports you can test it with: [workspace]
channels = ["https://prefix.dev/conda-forge"]
platforms = ["win-64", "linux-64", "osx-64", "osx-arm64"]
preview = ["pixi-build"]
[dependencies]
sdl_example = { path = "." }
[tasks.start]
cmd = "sdl_example"
[package]
name = "sdl_example"
version = "0.1.0"
[package.build]
backend = { name = "pixi-build-cmake", version = "0.1.*" }
[package.host-dependencies]
# This ensures that SDL2 is available at build time.
sdl2 = ">=2.26.5,<3.0"Now replace the edit: for memory, this was the error we hit as the run_exports where not implemented for the new path: |
bca5c2b to
9ad54db
Compare
baszalmstra
left a comment
There was a problem hiding this comment.
Did you even test this @remimimimimi ?
The implementation is buggy, using @ruben-arts reproducer your code is not run. When I fix the flaws (as suggestions from this review), we reach unreachable code.
thread '<unnamed>' panicked at crates\pixi_command_dispatcher\src\build\dependencies.rs:233:17:
internal error: entered unreachable code: We tried to make sure that run exports are available but something went wrong
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: ⚠ failed to solve requirements of environment 'default' for platform 'win-64'
╰─▶ the operation was cancelled
@ruben-arts Could you check this again? I run it locally, it's fixed! |
@baszalmstra Hi, Bas. I think it's already fixed. Could you please check it again? |
|
You'll hit it instantly if you change the channel from |
I tested with the It runs well on my machine. Or do I need to remove |
|
This works now! 🚀 |
Co-authored-by: Magenta <magenta2127@gmail.com> Co-authored-by: Bas Zalmstra <4995967+baszalmstra@users.noreply.github.com> Co-authored-by: nichmor <nmorkotilo@gmail.com>
Blocked by conda/rattler#1540