improve placeholder hash error message (#4615)

This commit is contained in:
Evan Almloff authored and GitHub committed 2025-08-29 11:27:56 -05:00
1 parent ed568be4cb
commit 171f34589f
1 file changed
+1 -1
@@ -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 {