switch dbg arg ordering to make it backwards compatible

This commit is contained in:
Brendan Hansknecht 2023-12-02 16:52:32 -08:00
parent 6c60da2832
commit 787d7f85ac
No known key found for this signature in database
GPG key ID: 0EA784685083E75B
50 changed files with 54 additions and 53 deletions

View file

@ -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.")
}