Inline Assembly compiles in debug but not release

Hi. Does anyone have any idea why this code will compile fine in debug but fail to compile in release?

https://play.rust-lang.org/?version=nightly&mode=release&edition=2018&gist=8f793875ad7dec71a05f9ab61b1c9cd0

Is this possibly a bug? I see no reason for it to compile in one mode but fail compilation in another.

You'll need to choose "assembly" or "run" if you only choose "build" it will build in both modes.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.