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.