mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 04:08:19 +00:00
switch dbg arg ordering to make it backwards compatible
This commit is contained in:
parent
6c60da2832
commit
787d7f85ac
50 changed files with 54 additions and 53 deletions
|
@ -290,7 +290,7 @@ mod dummy_platform_functions {
|
|||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub unsafe extern "C" fn roc_dbg(_loc: *mut c_void, _src: *mut c_void, _msg: *mut c_void) {
|
||||
pub unsafe extern "C" fn roc_dbg(_loc: *mut c_void, _msg: *mut c_void, _src: *mut c_void) {
|
||||
unimplemented!("It is not valid to call roc dbg from within the compiler. Please use the \"platform\" feature if this is a platform.")
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue