Patah smartstring for no-std.

This commit is contained in:
Stephen Chung
2021-03-30 18:06:58 +08:00
parent e36e490a30
commit ec7b906f71
2 changed files with 7 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ homepage = "https://github.com/rhaiscript/rhai/tree/no_std/no_std_test"
repository = "https://github.com/rhaiscript/rhai"
[dependencies]
rhai = { path = "../../", features = [ "no_std" ] }
rhai = { path = "../../", features = [ "no_std" ], default_features = false }
wee_alloc = { version = "0.4.5", default_features = false }
[profile.dev]
@@ -36,3 +36,7 @@ inherits = "release"
[profile.macos]
inherits = "release"
lto = "fat"
[patch.crates-io]
# Patch smartstring wth a PR fix because it doesn't properly handle no-std builds.
smartstring = { git = "https://github.com/okready/smartstring", branch = "fix-no_std-builds" }