File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change 22
33## Unreleased changes
44
5+ - Fix a bug that caused a linking error when using ` concordium_dbg! ` .
6+ - The error message states that ` _debug_print ` cannot be found.
7+
58## concordium-std 6.0.0 (2024-01-22)
69
710- Add a ` concordium_dbg! ` macro and the associated ` debug ` feature to enable,
Original file line number Diff line number Diff line change @@ -477,4 +477,33 @@ mod host_dummy_functions {
477477 fn hash_keccak_256 ( _data : * const u8 , _data_len : u32 , _output : * mut u8 ) {
478478 unimplemented ! ( "Dummy function! Not to be executed" )
479479 }
480+
481+ #[ no_mangle]
482+ fn report_error (
483+ _msg_start : * const u8 ,
484+ _msg_length : u32 ,
485+ _filename_start : * const u8 ,
486+ _filename_length : u32 ,
487+ _line : u32 ,
488+ _column : u32 ,
489+ ) {
490+ unimplemented ! ( "Dummy function! Not to be executed" )
491+ }
492+
493+ #[ no_mangle]
494+ fn debug_print (
495+ _msg_start : * const u8 ,
496+ _msg_length : u32 ,
497+ _filename_start : * const u8 ,
498+ _filename_length : u32 ,
499+ _line : u32 ,
500+ _column : u32 ,
501+ ) {
502+ unimplemented ! ( "Dummy function! Not to be executed" )
503+ }
504+
505+ #[ no_mangle]
506+ fn get_random ( _dest : * mut u8 , _size : u32 ) {
507+ unimplemented ! ( "Dummy function! Not to be executed" )
508+ }
480509}
You can’t perform that action at this time.
0 commit comments