diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c172a4dd..bdeac1573 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,22 @@ Rhai Release Notes ================== +Version 1.21.0 +============== + +Bug fixes +--------- + +* Fixed bug in raw strings (thanks [`@benatkin`](https://github.com/benatkin) [944](https://github.com/rhaiscript/rhai/pull/944)). +* `get_fn_metadata_list` function is marked `volatile`. +* `no-std` plus `sync` should now build correctly (thanks [`stargazing-dino`](https://github.com/stargazing-dino) [947](https://github.com/rhaiscript/rhai/pull/947)). + +Enhancements +------------ + +* A new `internals` function, `Engine::collect_fn_metadata`, is added to collect all functions metadata. This is to facilitate better error reporting for missing functions (thanks [`therealprof`](https://github.com/therealprof) [945](https://github.com/rhaiscript/rhai/pull/945)). + + Version 1.20.1 ============== @@ -8,13 +24,11 @@ Bug fixes --------- * Fixed bug in raw strings with newlines (thanks [`@benatkin`](https://github.com/benatkin) [940](https://github.com/rhaiscript/rhai/pull/940)). -* `get_fn_metadata_list` function is marked `volatile`. Enhancements ------------ * If a string slice refers to the entire string, the slice is not cloned but returned as-is. -* A new `internals` function, `Engine::collect_fn_metadata`, is added to collect all functions metadata. This is to facilitate better error reporting for missing functions (thanks [`therealprof`](https://github.com/therealprof) [899](https://github.com/rhaiscript/rhai/issues/899)). Version 1.20.0 diff --git a/src/lib.rs b/src/lib.rs index 2ced26f78..c81dacc35 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -93,7 +93,11 @@ #![allow(clippy::no_effect_underscore_binding)] // Underscored variables may be used by code within feature guards #![allow(clippy::semicolon_if_nothing_returned)] // One-liner `match` cases are sometimes formatted as multi-line blocks -#[cfg(feature = "no_std")] +// TODO: Further audit no_std compatibility +// When building with no_std + sync features, explicit imports from alloc +// are needed despite using no_std_compat. This fixed compilation errors +// in `native.rs` around missing trait implementations for some users. +//#[cfg(feature = "no_std")] extern crate alloc; #[cfg(feature = "no_std")]