[Midnightbsd-cvs] [MidnightBSD/mports] fc1120: Fix rust proc macro test dylib lookup (#570)

Lucas Holt noreply at github.com
Sat May 23 14:27:37 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/mports
  Commit: fc1120cec66ce0c44185f6d367869dda7609ff7f
      https://github.com/MidnightBSD/mports/commit/fc1120cec66ce0c44185f6d367869dda7609ff7f
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-05-23 (Sat, 23 May 2026)

  Changed paths:
    M lang/rust/Makefile
    A lang/rust/files/patch-src_tools_rust-analyzer_crates_proc-macro-srv_proc-macro-test_build.rs

  Log Message:
  -----------
  Fix rust proc macro test dylib lookup (#570)

AI-Assisted-by: OpenAI Codex <noreply at openai.com>

## Summary by Sourcery

Adjust Rust port to more reliably locate the proc-macro-test dynamic
library used by rust-analyzer.

Bug Fixes:
- Ensure proc-macro-test falls back to an alternative compiled
proc-macro artifact when the preferred package ID is not found,
preventing dylib lookup failures.

Enhancements:
- Track both primary and fallback proc-macro artifact paths when parsing
cargo build output in proc-macro-test.

Build:
- Bump the Rust port revision and add a patch to the rust-analyzer
proc-macro-test build script.

Signed-off-by: Lucas Holt <luke at foolishgames.com>



To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications


More information about the Midnightbsd-cvs mailing list