How do I use Cloud Build with "unsafe" code

I have 10 apps for a museum project which use a video player that requires the -unsafe command line.
I’ve added gmcs.rsp and smcs.rsp. Both have the -unsafe line, and I get this error on the UCB build logs:
CS0227: Unsafe code requires the `unsafe’ command line option to be specified

My projects build just fine locally, but having to build these apps one at a time on an i5 CPU takes forever and I’d much rather use UCB to offload that work each time that I commit my code.

Is there a way that I can pass the -unsafe command line parameter into Cloud Build?

same issue, any indication? :frowning:

Same here…

In case you guys still have this problem, I just found out that if you add “mcs.rsp” with the “-unsafe” flag it works on the build cloud. I suspect this is some kind of bug?

That is the correct way to pass the unsafe flag, although you’ll want to update smcs.rsp, gmcs.rsp, mcs.rsp and us.rsp with “-unsafe”.