Auto merge of #36944 - brson:modos, r=alexcrichton
Auto merge of #36944 - brson:modos, r=alexcrichton

Fix mod declarations on untested platforms

r? @alexcrichton

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