SERVER-131717ClosedFixed

Support building rust binaries with our different flags

Things like optimization level, aubsan, tsan, split debug and other properties are not natively inherited by our rust binaries. Make it so that rust also gets these when they are set. Main target that would use these at the moment is the message filter plugin.

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc09.1.0-rc1025
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.