Skip to content

Commit

Permalink
Misc
Browse files Browse the repository at this point in the history
  • Loading branch information
rvanasa committed Mar 5, 2024
1 parent aafbbf3 commit 127357a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/rts-outside-nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- run: make -C rts
- name: Build RTS
run: make -C rts
6 changes: 0 additions & 6 deletions rts/motoko-rts/src/principal_id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@ pub unsafe extern "C" fn compute_crc32(blob: Value) -> u32 {
!crc
}

// TEMPORARY
#[no_mangle]
pub unsafe extern "C" fn echo(value: u32) -> u32 {
value
}

static CRC_TABLE: [u32; 256] = [
0x0, 0x77073096, 0xee0e612c, 0x990951ba, 0x76dc419, 0x706af48f, 0xe963a535, 0x9e6495a3,
0xedb8832, 0x79dcb8a4, 0xe0d5e91e, 0x97d2d988, 0x9b64c2b, 0x7eb17cbd, 0xe7b82d07, 0x90bf1d91,
Expand Down

0 comments on commit 127357a

Please sign in to comment.