From 6bbd34baa528d3c6e6678a83ee54099cbbdf9859 Mon Sep 17 00:00:00 2001 From: Eduard-Mihai Burtescu Date: Fri, 17 Mar 2023 22:13:59 +0200 Subject: [PATCH] Add `CHANGELOG` entry for banning `OpReturn`/`OpReturnValue` in inline `asm!`. --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 87b21a97f6..2a68efa7e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 --> +## [Unreleased] + +### Fixed 🩹 +- [PR#1006](https://github.com/EmbarkStudios/rust-gpu/pull/1006) fixed [#1002](https://github.com/EmbarkStudios/rust-gpu/issues/1002) by rewriting away all `spirv-std` uses of `asm!("OpReturnValue %result")` and disallowing `OpReturn`/`OpReturnValue` from inline `asm!` (as it's always UB to leave `asm!` blocks in any way other than falling through their end) + ## [0.6.0] ### Added ⭐