rust:1.85-alpine does not include musl-dev, causing the gcc linker to
fail with "cannot find crti.o". Required for serde_derive and other
proc-macro crates to compile.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Switch from full LTO (lto=true) to thin LTO to avoid memory/ICE issues
- Include Cargo.lock in Dockerfile for reproducible dependency resolution
- Use opt-level='s' (balanced size/speed) instead of 'z' (max size opt)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>