Repository navigation
Pin Rust 1.99 in Linux CI until ort supports Rust 1.100 - #55
Open
reidmorrison wants to merge 1 commit into
Open
reidmorrison wants to merge 1 commit into
reidmorrison wants to merge 1 commit into
Conversation
Rust 1.100 (due 2026-11-12) ships cargo's new build-dir layout. The copy-dylibs step in ort-sys 2.0.0-rc.8 cannot handle it, so any build that links ONNX Runtime dynamically fails in the ort-sys build script. That includes the cuda/tensorrt features, which config/config.exs enables for the Linux CI job. Static CPU builds, the default for apps that depend on Ortex, are not affected. Pin the Linux job to Rust 1.99.1 and note the limitation in the README. The macOS job (static CoreML build) keeps using the runner's latest Rust. Remove the pin once ort is upgraded (rc.14 and later support the new layout).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rust 1.100 (due Nov 12) changes cargo's build directory layout. The
copy-dylibsstep inort-sys2.0.0-rc.8 can't handle the new layout, so builds that link ONNX Runtime dynamically fail in theort-sysbuild script. That includes thecuda/tensorrtfeatures, which the Linux CI job enables throughconfig/config.exs. I reproduced it on 1.100.0-beta.7; static CPU builds are fine.This pins the Linux job to 1.99.1 and adds a short README note for GPU users. The real fix is moving to
ortrc.14 or later. Happy to help with that separately if you want.