From 171f34589f03f8c0204d73d17f4d8f8771b4095e Mon Sep 17 00:00:00 2001 From: Evan Almloff Date: Fri, 29 Aug 2025 11:27:56 -0500 Subject: [PATCH] improve placeholder hash error message (#4615) --- packages/manganis/manganis/src/macro_helpers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/manganis/manganis/src/macro_helpers.rs b/packages/manganis/manganis/src/macro_helpers.rs index c54fb8878..984461b03 100644 --- a/packages/manganis/manganis/src/macro_helpers.rs +++ b/packages/manganis/manganis/src/macro_helpers.rs @@ -2,7 +2,7 @@ pub use const_serialize; use const_serialize::{serialize_const, ConstVec, SerializeConst}; use manganis_core::{AssetOptions, BundledAsset}; -const PLACEHOLDER_HASH: &str = "this is a placeholder hash which will be replaced by the linker"; +const PLACEHOLDER_HASH: &str = "This should be replaced by dx as part of the build process. If you see this error, make sure you are using a matching version of dx and dioxus and you are not stripping symbols from your binary."; /// Create a bundled asset from the input path, the content hash, and the asset options pub const fn create_bundled_asset(input_path: &str, asset_config: AssetOptions) -> BundledAsset {