Skip to content

hotfix: pkg.rs build break + resolve_imports arity (ILO-63 followup)#730

Merged
danieljohnmorris merged 1 commit into
mainfrom
hotfix/pkg-rs-semver-build
May 22, 2026
Merged

hotfix: pkg.rs build break + resolve_imports arity (ILO-63 followup)#730
danieljohnmorris merged 1 commit into
mainfrom
hotfix/pkg-rs-semver-build

Conversation

@danieljohnmorris
Copy link
Copy Markdown
Collaborator

Build blocker. PR #614 (ilo add) merged with two compile errors that fail the build/coverage/cross-platform jobs on every PR's CI:

  1. src/pkg.rs:253 unwraps git_ref to &str, then line 260 matches it as Option<_> — type error. Remove the early unwrap; the later match at 273-276 already handles the Option correctly.
  2. src/main.rs:2465 calls resolve_imports with 4 args but it takes 5 (the build_target arg was added by feat(ILO-399): modules — conditional imports via use ?<pred> #643 conditional imports). Add the missing arg.

Restores main to clean build. Lint + clippy + fmt clean.

PR #614 (ilo add) merged with two compile errors:

1. src/pkg.rs:253 unwraps git_ref to &str, then line 260 tries to
   match it as Option. Remove the early unwrap; the later match at
   273-276 already handles the Option correctly.

2. src/main.rs:2465 calls resolve_imports with 4 args but it takes 5
   (the build_target arg was added by #643). Add the missing arg.

Restores main to a clean build.
@codecov
Copy link
Copy Markdown

codecov Bot commented May 22, 2026

⚠️ JUnit XML file not found

The CLI was unable to find any JUnit XML files to upload.
For more help, visit our troubleshooting guide.

@danieljohnmorris danieljohnmorris merged commit dfedce6 into main May 22, 2026
8 of 10 checks passed
@danieljohnmorris danieljohnmorris deleted the hotfix/pkg-rs-semver-build branch May 22, 2026 13:48
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.

1 participant