diff --git a/Cargo.lock b/Cargo.lock index ca84f5160..cd82f5801 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5535,7 +5535,7 @@ dependencies = [ [[package]] name = "sha2" version = "0.10.8" -source = "git+https://github.com/betrusted-io/hashes.git?branch=sha2-v0.10.8-xous#ef15aee3576eda5429b361bdee51eae3379ba8ff" +source = "git+https://github.com/betrusted-io/hashes.git?branch=sha2-v0.10.8-xous#c190327961172f8160db39f178ca6232fda8c8bf" dependencies = [ "cfg-if", "cpufeatures", @@ -7539,6 +7539,7 @@ dependencies = [ "num-derive 0.4.2", "num-traits", "rkyv 0.8.8", + "utralib 0.1.26", "xous 0.9.69 (registry+https://github.com/rust-lang/crates.io-index)", "xous-api-log", "xous-api-names", diff --git a/services/graphics-server/src/backend/betrusted.rs b/services/graphics-server/src/backend/betrusted.rs index 3b873ffcc..47250b03b 100644 --- a/services/graphics-server/src/backend/betrusted.rs +++ b/services/graphics-server/src/backend/betrusted.rs @@ -310,6 +310,11 @@ impl FrameBuffer for XousDisplay { fb[clip_y * LCD_WORDS_PER_LINE + (LCD_WORDS_PER_LINE - 1)] |= 0x1_0000; } + unsafe fn put_pixel_unchecked(&mut self, p: Point, color: ColorNative) { + // compatibility shim for other builds + self.put_pixel(p, color); + } + /// Retrieves a pixel value from the frame buffer; returns None if the point is out of bounds. /// /// Note: this has not be carefully tested as this API is not used by the legacy code base.