rustbuild: refactor how the wrapper deals with exit codes
rustbuild: refactor how the wrapper deals with exit codes

graydon/rust,aidancully/rust,aidancully/rust,aidancully/rust,graydon/rust,graydon/rust,aidancully/rust,aidancully/rust,graydon/rust,graydon/rust,aidancully/rust,graydon/rust