Skip to content

fix: restore successful WSL release build for rust sensing server#389

Open
bilibili12433014 wants to merge 2 commits intoruvnet:mainfrom
bilibili12433014:main
Open

fix: restore successful WSL release build for rust sensing server#389
bilibili12433014 wants to merge 2 commits intoruvnet:mainfrom
bilibili12433014:main

Conversation

@bilibili12433014
Copy link
Copy Markdown

@bilibili12433014 bilibili12433014 commented Apr 15, 2026

Summary

This PR fixes the Rust release build failure documented in docs/user-guide.md when running cargo build --release inside WSL, and updates the guide to document the Linux desktop prerequisites required for the Rust source build.

Changes

  • add the missing ruvector-mincut dependency to wifi-densepose-sensing-server
  • fix multiple borrow-checker conflicts around tracker updates and field model calibration
  • replace the stale adaptive classifier class reference with runtime model class names
  • add a targeted dead_code compatibility workaround to avoid a rustc ICE observed in WSL builds
  • update docs/user-guide.md with the Linux desktop prerequisite packages required by the desktop/Tauri build
  • add a matching troubleshooting entry so the setup and recovery steps stay aligned

Verification

  • reproduced the failure in WSL
  • ran cargo build --release in rust-port/wifi-densepose-rs
  • confirmed the build now completes successfully
  • reviewed the updated guide to ensure the prerequisite command and troubleshooting section are context-consistent

Notes

  • the remaining warnings are non-blocking and were not expanded in scope in this fix
  • the documentation now includes the confirmed Linux desktop dependency packages needed for the documented build path
  • this PR remains focused on restoring the documented release build path with minimal behavior changes

- add missing `ruvector-mincut` dependency for sensing server
- fix mutable/immutable borrow conflicts in tracker and field model flows
- use dynamic adaptive model class names in status response
- add a narrow dead_code compatibility workaround to avoid rustc ICE in WSL
- verify `cargo build --release` succeeds in WSL
- add Debian/Ubuntu desktop build prerequisites to the Rust source build guide
- document required GTK/WebKit development packages for Linux release builds
- add a matching troubleshooting entry for native desktop build dependencies
- keep installation and troubleshooting guidance aligned and context-consistent
@bilibili12433014
Copy link
Copy Markdown
Author

Hi @ruvnet, I reproduced the cargo build --release failure from docs/user-guide.md in WSL and fixed the issues in wifi-densepose-sensing-server that were blocking the release build. I also added a narrow workaround for the rustc ICE encountered in WSL and updated the guide with the required Linux desktop prerequisites. cargo build --release now succeeds. Could you please review when you have a chance?

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