File tree 5 files changed +4
-8
lines changed
5 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 1
1
#! /usr/bin/sh
2
2
3
- VERSION=dev-2023-02
3
+ VERSION=dev-2023-03
4
4
FILE_NAME=odin-ubuntu-amd64-$VERSION .zip
5
5
sudo apt-get install -y aria2
6
6
mkdir /tmp/odin
7
7
cd /tmp/odin
8
8
aria2c -c -o $FILE_NAME https://github.com/odin-lang/Odin/releases/download/$VERSION /$FILE_NAME
9
9
unzip -o $FILE_NAME
10
- sudo chmod +x $PWD /odin
11
- sudo ln -sf $PWD /odin /usr/bin/odin
10
+ sudo chmod +x $PWD /ubuntu_artifacts/ odin
11
+ sudo ln -sf $PWD /ubuntu_artifacts/ odin /usr/bin/odin
12
12
odin version
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ fn main() {
18
18
. and_then ( |s| s. into_string ( ) . ok ( ) )
19
19
. and_then ( |s| s. parse ( ) . ok ( ) )
20
20
. unwrap_or ( 10 ) ;
21
- let privkey: k256:: Scalar = elliptic_curve:: ScalarCore :: from_be_slice ( & PRIVATE_KEY )
21
+ let privkey: k256:: Scalar = elliptic_curve:: ScalarPrimitive :: from_slice ( & PRIVATE_KEY )
22
22
. unwrap ( )
23
23
. into ( ) ;
24
24
let mut point = k256:: AffinePoint :: generator ( ) ;
Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ problems:
47
47
- 1.rs
48
48
- name : secp256k1
49
49
source :
50
- - 0.rs
51
50
- 1.rs
52
51
source_rename_to : main.rs
53
52
compiler_version_command :
Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ problems:
47
47
- 1.rs
48
48
- name : secp256k1
49
49
source :
50
- - 0.rs
51
50
- 1.rs
52
51
source_rename_to : main.rs
53
52
compiler_version_command : wasmedgec --version
Original file line number Diff line number Diff line change @@ -18,13 +18,11 @@ wasm = [
18
18
[dependencies ]
19
19
anyhow = " 1"
20
20
bitvec = " 1"
21
- elliptic-curve = " 0"
22
21
generic-array = " 0"
23
22
hashbrown = " 0"
24
23
hashlink = " 0"
25
24
hex = " 0"
26
25
ibig = " 0"
27
- k256 = " 0"
28
26
lasso = " 0"
29
27
lazy_static = " 1"
30
28
md5 = " 0"
You can’t perform that action at this time.
0 commit comments