std: Change ProcessOptions struct to have an option of a ~ vector

This is a workaround for #8498
testsuite: Add xfailed test for #8498
auto merge of #8518 : catamorphism/rust/issue-8498-workaround, r=brson

r? @brson