supranational / blst

Multilingual BLS12-381 signature library
Apache License 2.0
454 stars 171 forks source link

Rust bindings: `PublicKey::key_validate` not linking for `x86_64-fortanix-unknown-sgx` (current master branch) #195

Closed DragonDev1906 closed 9 months ago

DragonDev1906 commented 9 months ago

I unfortunately have another issue using blst for the x86_64-fortanix-unknown-sgx target: The following code does not compile for the commits 78fee18 to 1514337 (current master). The last commit that compiled was 69b00c4:

fn main() {
    let pubkey = [0u8; 32];
    let pubkey = pubkey.as_slice();
    blst::min_pk::PublicKey::key_validate(pubkey).unwrap();
}
[package]
name = "blst-key-validate"
version = "0.1.0"
edition = "2021"

[dependencies]
blst = { version = "^0.3.11", git = "https://github.com/supranational/blst.git", rev = "1514337", features = [
    "no-threads",
] }

Command used: cargo build --target x86_64-fortanix-unknown-sgx Rustc version: rustc 1.73.0 (cc66ad468 2023-10-03)

Here is the linker error I got:

error: linking with `rust-lld` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/home/jens/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/home/jens/.cargo/bin:/home/jens/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin:/var/lib/snapd/snap/bin:/snap/bin:~/scripts:~/.cargo/bin/:/home/jens/go/bin" VSLANG="1033" "rust-lld" "-flavor" "gnu" "--version-script=/tmp/rustcnY2gaE/list" "--no-undefined-version" "-e" "elf_entry" "-Bstatic" "--gc-sections" "-z" "text" "-z" "norelro" "--no-undefined" "--error-unresolved-symbols" "--no-undefined-version" "-Bsymbolic" "--export-dynamic" "-u" "__rust_abort" "-u" "__rust_c_alloc" "-u" "__rust_c_dealloc" "-u" "__rust_print_err" "-u" "__rust_rwlock_rdlock" "-u" "__rust_rwlock_unlock" "-u" "__rust_rwlock_wrlock" "/tmp/rustcnY2gaE/symbols.o" "/home/jens/test/blst-key-validate/target/x86_64-fortanix-unknown-sgx/debug/deps/blst_key_validate-3b95b3876d284842.1duobu58998huj6x.rcgu.o" "/home/jens/test/blst-key-validate/target/x86_64-fortanix-unknown-sgx/debug/deps/blst_key_validate-3b95b3876d284842.1gi6snaw04nax6v6.rcgu.o" "/home/jens/test/blst-key-validate/target/x86_64-fortanix-unknown-sgx/debug/deps/blst_key_validate-3b95b3876d284842.1xf2lstpuspuf9ll.rcgu.o" "/home/jens/test/blst-key-validate/target/x86_64-fortanix-unknown-sgx/debug/deps/blst_key_validate-3b95b3876d284842.2jea2trg7qx6i7s8.rcgu.o" "/home/jens/test/blst-key-validate/target/x86_64-fortanix-unknown-sgx/debug/deps/blst_key_validate-3b95b3876d284842.2tfv53hnlladm344.rcgu.o" "/home/jens/test/blst-key-validate/target/x86_64-fortanix-unknown-sgx/debug/deps/blst_key_validate-3b95b3876d284842.3il1adnd5qpihytt.rcgu.o" "/home/jens/test/blst-key-validate/target/x86_64-fortanix-unknown-sgx/debug/deps/blst_key_validate-3b95b3876d284842.5f1i7k1vh2buhnnk.rcgu.o" "/home/jens/test/blst-key-validate/target/x86_64-fortanix-unknown-sgx/debug/deps/blst_key_validate-3b95b3876d284842.3pya7e3bry74zvk1.rcgu.o" "--as-needed" "-L" "/home/jens/test/blst-key-validate/target/x86_64-fortanix-unknown-sgx/debug/deps" "-L" "/home/jens/test/blst-key-validate/target/debug/deps" "-L" "/home/jens/test/blst-key-validate/target/x86_64-fortanix-unknown-sgx/debug/build/blst-7b16b0e6bbade7e4/out" "-L" "/home/jens/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-fortanix-unknown-sgx/lib" "-Bstatic" "/home/jens/test/blst-key-validate/target/x86_64-fortanix-unknown-sgx/debug/deps/libblst-6f8cc2bb1074125e.rlib" "/home/jens/test/blst-key-validate/target/x86_64-fortanix-unknown-sgx/debug/deps/libzeroize-7c4584306163906a.rlib" "/home/jens/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-fortanix-unknown-sgx/lib/libstd-0ba39eebe29ef3fe.rlib" "/home/jens/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-fortanix-unknown-sgx/lib/libpanic_unwind-13705260718b34ba.rlib" "/home/jens/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-fortanix-unknown-sgx/lib/libdlmalloc-111ac8bff48b9f28.rlib" "/home/jens/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-fortanix-unknown-sgx/lib/libfortanix_sgx_abi-f636a5d36dbaab9a.rlib" "/home/jens/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-fortanix-unknown-sgx/lib/librustc_demangle-05699bde5a949940.rlib" "/home/jens/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-fortanix-unknown-sgx/lib/libstd_detect-d13071ddb9fb03ae.rlib" "/home/jens/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-fortanix-unknown-sgx/lib/libhashbrown-794ca9242564dac5.rlib" "/home/jens/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-fortanix-unknown-sgx/lib/librustc_std_workspace_alloc-83b4cd5537806d1d.rlib" "/home/jens/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-fortanix-unknown-sgx/lib/libminiz_oxide-83305018bc9e8917.rlib" "/home/jens/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-fortanix-unknown-sgx/lib/libadler-b0792f1d6b9bef36.rlib" "/home/jens/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-fortanix-unknown-sgx/lib/libunwind-b009b08f872d5011.rlib" "-lunwind" "/home/jens/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-fortanix-unknown-sgx/lib/libcfg_if-7598c30c0e107972.rlib" "/home/jens/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-fortanix-unknown-sgx/lib/liblibc-7175afcf60d47fc1.rlib" "/home/jens/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-fortanix-unknown-sgx/lib/liballoc-641562219eeb87ed.rlib" "/home/jens/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-fortanix-unknown-sgx/lib/librustc_std_workspace_core-f1f23bb6f650d0af.rlib" "/home/jens/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-fortanix-unknown-sgx/lib/libcore-47df36b6c4b52355.rlib" "/home/jens/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-fortanix-unknown-sgx/lib/libcompiler_builtins-67b85916c2b5b3a0.rlib" "-Bdynamic" "--eh-frame-hdr" "-z" "noexecstack" "-L" "/home/jens/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-fortanix-unknown-sgx/lib" "-o" "/home/jens/test/blst-key-validate/target/x86_64-fortanix-unknown-sgx/debug/deps/blst_key_validate-3b95b3876d284842" "--gc-sections" "-pie"
  = note: rust-lld: error: undefined symbol: vec_select_32
          >>> referenced by vect.h:276 (/home/jens/.cargo/git/checkouts/blst-5c557c5a4a09c457/1514337/src/vect.h:276)
          >>>               707d2bcde34abc42-server.o:(vec_select) in archive /home/jens/test/blst-key-validate/target/x86_64-fortanix-unknown-sgx/debug/deps/libblst-6f8cc2bb1074125e.rlib

          rust-lld: error: undefined symbol: vec_select_48
          >>> referenced by vect.h:277 (/home/jens/.cargo/git/checkouts/blst-5c557c5a4a09c457/1514337/src/vect.h:277)
          >>>               707d2bcde34abc42-server.o:(vec_select) in archive /home/jens/test/blst-key-validate/target/x86_64-fortanix-unknown-sgx/debug/deps/libblst-6f8cc2bb1074125e.rlib

          rust-lld: error: undefined symbol: vec_select_96
          >>> referenced by vect.h:278 (/home/jens/.cargo/git/checkouts/blst-5c557c5a4a09c457/1514337/src/vect.h:278)
          >>>               707d2bcde34abc42-server.o:(vec_select) in archive /home/jens/test/blst-key-validate/target/x86_64-fortanix-unknown-sgx/debug/deps/libblst-6f8cc2bb1074125e.rlib

          rust-lld: error: undefined symbol: vec_select_144
          >>> referenced by vect.h:279 (/home/jens/.cargo/git/checkouts/blst-5c557c5a4a09c457/1514337/src/vect.h:279)
          >>>               707d2bcde34abc42-server.o:(vec_select) in archive /home/jens/test/blst-key-validate/target/x86_64-fortanix-unknown-sgx/debug/deps/libblst-6f8cc2bb1074125e.rlib

          rust-lld: error: undefined symbol: vec_select_192
          >>> referenced by vect.h:280 (/home/jens/.cargo/git/checkouts/blst-5c557c5a4a09c457/1514337/src/vect.h:280)
          >>>               707d2bcde34abc42-server.o:(vec_select) in archive /home/jens/test/blst-key-validate/target/x86_64-fortanix-unknown-sgx/debug/deps/libblst-6f8cc2bb1074125e.rlib

          rust-lld: error: undefined symbol: vec_select_288
          >>> referenced by vect.h:281 (/home/jens/.cargo/git/checkouts/blst-5c557c5a4a09c457/1514337/src/vect.h:281)
          >>>               707d2bcde34abc42-server.o:(vec_select) in archive /home/jens/test/blst-key-validate/target/x86_64-fortanix-unknown-sgx/debug/deps/libblst-6f8cc2bb1074125e.rlib

          rust-lld: error: undefined symbol: vec_is_zero_16x
          >>> referenced by vect.h:318 (/home/jens/.cargo/git/checkouts/blst-5c557c5a4a09c457/1514337/src/vect.h:318)
          >>>               707d2bcde34abc42-server.o:(vec_is_zero) in archive /home/jens/test/blst-key-validate/target/x86_64-fortanix-unknown-sgx/debug/deps/libblst-6f8cc2bb1074125e.rlib

          rust-lld: error: undefined symbol: vec_is_equal_16x
          >>> referenced by vect.h:339 (/home/jens/.cargo/git/checkouts/blst-5c557c5a4a09c457/1514337/src/vect.h:339)
          >>>               707d2bcde34abc42-server.o:(vec_is_equal) in archive /home/jens/test/blst-key-validate/target/x86_64-fortanix-unknown-sgx/debug/deps/libblst-6f8cc2bb1074125e.rlib

          rust-lld: error: undefined symbol: add_mod_384
          >>> referenced by fields.h:16 (/home/jens/.cargo/git/checkouts/blst-5c557c5a4a09c457/1514337/src/fields.h:16)
          >>>               707d2bcde34abc42-server.o:(add_fp) in archive /home/jens/test/blst-key-validate/target/x86_64-fortanix-unknown-sgx/debug/deps/libblst-6f8cc2bb1074125e.rlib

          rust-lld: error: undefined symbol: cneg_mod_384
          >>> referenced by fields.h:43 (/home/jens/.cargo/git/checkouts/blst-5c557c5a4a09c457/1514337/src/fields.h:43)
          >>>               707d2bcde34abc42-server.o:(cneg_fp) in archive /home/jens/test/blst-key-validate/target/x86_64-fortanix-unknown-sgx/debug/deps/libblst-6f8cc2bb1074125e.rlib

          rust-lld: error: undefined symbol: sqrx_mont_384
          >>> referenced by fields.h:40 (/home/jens/.cargo/git/checkouts/blst-5c557c5a4a09c457/1514337/src/fields.h:40)
          >>>               707d2bcde34abc42-server.o:(sqr_fp) in archive /home/jens/test/blst-key-validate/target/x86_64-fortanix-unknown-sgx/debug/deps/libblst-6f8cc2bb1074125e.rlib

          rust-lld: error: undefined symbol: sub_mod_384
          >>> referenced by fields.h:19 (/home/jens/.cargo/git/checkouts/blst-5c557c5a4a09c457/1514337/src/fields.h:19)
          >>>               707d2bcde34abc42-server.o:(sub_fp) in archive /home/jens/test/blst-key-validate/target/x86_64-fortanix-unknown-sgx/debug/deps/libblst-6f8cc2bb1074125e.rlib

          rust-lld: error: undefined symbol: mul_by_3_mod_384
          >>> referenced by fields.h:22 (/home/jens/.cargo/git/checkouts/blst-5c557c5a4a09c457/1514337/src/fields.h:22)
          >>>               707d2bcde34abc42-server.o:(mul_by_3_fp) in archive /home/jens/test/blst-key-validate/target/x86_64-fortanix-unknown-sgx/debug/deps/libblst-6f8cc2bb1074125e.rlib

          rust-lld: error: undefined symbol: mul_by_8_mod_384
          >>> referenced by fields.h:25 (/home/jens/.cargo/git/checkouts/blst-5c557c5a4a09c457/1514337/src/fields.h:25)
          >>>               707d2bcde34abc42-server.o:(mul_by_8_fp) in archive /home/jens/test/blst-key-validate/target/x86_64-fortanix-unknown-sgx/debug/deps/libblst-6f8cc2bb1074125e.rlib

          rust-lld: error: undefined symbol: mulx_mont_384
          >>> referenced by fields.h:37 (/home/jens/.cargo/git/checkouts/blst-5c557c5a4a09c457/1514337/src/fields.h:37)
          >>>               707d2bcde34abc42-server.o:(mul_fp) in archive /home/jens/test/blst-key-validate/target/x86_64-fortanix-unknown-sgx/debug/deps/libblst-6f8cc2bb1074125e.rlib

          rust-lld: error: undefined symbol: sgn0x_pty_mont_384
          >>> referenced by e1.c:258 (/home/jens/.cargo/git/checkouts/blst-5c557c5a4a09c457/1514337/src/e1.c:258)
          >>>               707d2bcde34abc42-server.o:(POINTonE1_Uncompress_BE) in archive /home/jens/test/blst-key-validate/target/x86_64-fortanix-unknown-sgx/debug/deps/libblst-6f8cc2bb1074125e.rlib

          rust-lld: error: undefined symbol: sqrx_n_mul_mont_383
          >>> referenced by sqrt.c:30 (/home/jens/.cargo/git/checkouts/blst-5c557c5a4a09c457/1514337/src/sqrt.c:30)
          >>>               707d2bcde34abc42-server.o:(sqr_n_mul_fp) in archive /home/jens/test/blst-key-validate/target/x86_64-fortanix-unknown-sgx/debug/deps/libblst-6f8cc2bb1074125e.rlib

error: could not compile `blst-key-validate` (bin "blst-key-validate") due to previous error
dot-asm commented 9 months ago

Ouch! At first I failed to reproduce it, but then managed to figure it out. [Newer?] clang --target=x86_64-fortanix-unknown-sgx doesn't pre-define __ELF__. As a quick test, can you confirm that you can build as env CFLAGS=-D__ELF__ cargo build ...?

BTW, no-threads is enforced on SGX, you don't need to engage it in your Cargo.toml, it's done automatically on the blst side.

dot-asm commented 9 months ago

[Newer?] clang --target=x86_64-fortanix-unknown-sgx doesn't pre-define __ELF__

Hmmm, it appears to be vice versa. The latest clang version does pre-define __ELF__, but not say 14... [And that's presumably how it slipped through. I've pulled latest version to test when worked on it.]

dot-asm commented 9 months ago

I've also figured out how to limit visibility of [dev-dependencies] used in benchmarks, so that it's now possible to link the test suite for fortanix-sgx. I wonder if it's possible to execute it. Could you try following on your SGX system?

git clone https://github.com/dot-asm/blst -b sgx-fix
cd blst/bindings/rust
cargo test --target=x86_64-fortanix-unknown-sgx
DragonDev1906 commented 9 months ago

As a quick test, can you confirm that you can build as env CFLAGS=-DELF cargo build ...?

Yes, with env CFLAGS=-D__ELF__ cargo build it builds (both the minified example and the real project), I have not tried running it, yet.

The latest clang version does pre-define ELF, but not say 14... [And that's presumably how it slipped through. I've pulled latest version to test when worked on it.]

If it helps: This is the clang version I have installed on my dev machine (not the one that I'm running SGX applications on) (I assume that's the one cargo uses, too).

clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

Interestingly, I couldn't find clang on the machine I'm testing on, so I'm not sure how cargo is compiling the project there. I did not need env CFLAGS=-D__ELF__ for running the tests on that machine (Ubuntu 20.04.1). There the mini project in my first post compiles with and without env CFLAGS=-D__ELF__.

I wonder if it's possible to execute it. Could you try following on your SGX system?

I had to add the following to ~/.cargo/config as described in https://edp.fortanix.com/docs/installation/guide/

[target.x86_64-fortanix-unknown-sgx]
runner = "ftxsgx-runner-cargo"

Most tests run successfully, but not all:

running 27 tests
test bindgen_test_layout_blst_fp ... ok
test bindgen_test_layout_blst_fp12 ... ok
test bindgen_test_layout_blst_fp2 ... ok
test bindgen_test_layout_blst_fp6 ... ok
test bindgen_test_layout_blst_fr ... ok
test bindgen_test_layout_blst_p1 ... ok
test bindgen_test_layout_blst_p1_affine ... ok
test bindgen_test_layout_blst_p2 ... ok
test bindgen_test_layout_blst_p2_affine ... ok
test bindgen_test_layout_blst_pairing ... ok
test bindgen_test_layout_blst_scalar ... ok
test bindgen_test_layout_blst_uniq ... ok
test bindgen_test_normal_types ... ok
test fp12_test::miller_loop_n ... ok
test min_pk::tests::test_aggregate ... ok
test min_pk::tests::test_multiple_agg_sigs ... ok
test min_pk::tests::test_serialization ... ok
test min_pk::tests::test_sign_n_verify ... ok
test min_sig::tests::test_aggregate ... ok
test min_sig::tests::test_multiple_agg_sigs ... ok
test min_sig::tests::test_serialization ... ok
test min_sig::tests::test_sign_n_verify ... ok
test p1_multi_scalar::test_add ... Attaching debugger
Error while executing SGX enclave.
Enclave panicked: Enclave triggered exception: SgxEnclaveRun { function: EResume, exception_vector: 14, exception_error_code: 6, exception_addr: 0x7f107621e000 }
ERROR: while running "ftxsgx-runner" "/home/jens/test/blst/bindings/rust/target/x86_64-fortanix-unknown-sgx/debug/deps/blst-a057e48fb8f28d27.sgxs" got exit status: 255
error: test failed, to rerun pass `--lib`

Caused by:
  process didn't exit successfully: `ftxsgx-runner-cargo /home/jens/test/blst/bindings/rust/target/x86_64-fortanix-unknown-sgx/debug/deps/blst-a057e48fb8f28d27` (exit status: 255)

I'm currently trying to give you a bit more information why the test failed (e.g. stack traces), but that's unfortunately not that easy in SGX (so far I've not managed to get debugging or stack traces on panics in the enclave to work as they should).

dot-asm commented 9 months ago

I had to add the [runner = "ftxsgx-runner-cargo"] to ~/.cargo/config

Of course :-)

running 27 tests

Cool!

test p1_multi_scalar::test_add ... Attaching debugger Error while executing SGX enclave.

Try env CFLAGS=-DSCRATCH_LIMIT=46080 cargo test ...

dot-asm commented 9 months ago

Try env CFLAGS=-DSCRATCH_LIMIT=46080 cargo test ...

Question is how large is the [default] stack in SGX enclave. The suggested scratch limit is verified (and exercised in CI) to work with 56KB stack. If SGX has smaller stack, then the limit can be scaled down accordingly. [And conversely, if stack is larger, one can increase it.] However, the smaller size results in lower performance, so one can wonder if it would be more sensible to find a way to increase the stack instead...

dot-asm commented 9 months ago

[And conversely, if stack is larger, one can increase it.]

So try even env CFLAGS=-DSCRATCH_LIMIT=92160 cargo test ...

DragonDev1906 commented 9 months ago

Ah, the stack size issue again, I wish the error message for running out of stack size would be more distinct (I've hit that issue a few times already).

Question is how large is the [default] stack in SGX enclave.

0x20000 bytes (128KiB)

Try env CFLAGS=-DSCRATCH_LIMIT=46080 cargo test ...

Works, 27/27 Tests passed.

so one can wonder if it would be more sensible to find a way to increase the stack instead...

Luckily that's easy to do. The main disadvantage with increasing stack/heap size is that the enclave binary gets bigger and the enclave takes longer to start/load, other than that there isn't really a big downside, except that the enclave has to offload pages more often from EPC (Enclave Page Cache) to RAM, which can affect performance (offloading to RAM is slower than in normal applications because the data has to be encrypted and requires integrity protection). So when optimizing for performance in SGX this offloading to RAM also needs to be considered (together with the entire memory behavior of the application in the enclave). Especially since the scratch space is likely used in a random access pattern.

Overall I don't see this as a big limitation at the moment (see below), but it is something I we have to consider when creating enclaves if we care about performance.

[package.metadata.fortanix-sgx]
stack-size=0x200000 # 2MiB

So try even env CFLAGS=-DSCRATCH_LIMIT=92160 cargo test ...

This one works with a stack-size of 144 KiB or larger.

Without the SCRATCH_LIMIT change the tests require 178 KiB to run through.

Regarding EPC and Hardware limitations (if you're interested)

There is a hardware limitation on the address space that can be used in an enclave. This is an absolute upper limit of anything memory related (heap + stack + code + unusable space):

The (usually) bigger limitation is the max Processor Reserved Memory size (hardware limitation), which limits the max EPC size (can be specified in the bios)

Most platforms have either 128 MB or 256 MB of PRM. The exception are 3rd Generation Intel® Xeon® Scalable processors, which each support 512GB of PRM size, adding up to 1TB on a two-socket platform. ^1

As you can see, it really depends on the hardware how big a problem a large stack (or in this case scratch space) is. The EPC size is not a hard limit, but exceeding it too much will cause more cache misses (which are more expensive than normal L1-3 cache misses). I don't see a bit issue with the scratch size or increasing the stack size, since the EPC isn't a hard limitation and the CPU I'm testing on does have a large cache size.

dot-asm commented 9 months ago

Works, 27/27 Tests passed.

Yeah!!! :-) :-) :-)

that's easy to do [adjust the stack size].

I'm settling for the 45K scratch cap. While it appears to be possible to increase it to keep it working with the default 128K stack, the difference between 90K scratch working with 144K stack suggests that the stack utilization pattern is different on SGX, and it might be more appropriate to be more conservative ;-)

Regarding EPC and Hardware limitations (if you're interested)

Always! Thanks!

dot-asm commented 9 months ago

Fix is committed, the tip of the repo should work without any additional environment variables set. Thanks again!

DragonDev1906 commented 9 months ago

Thank you, too! :) For fast responses, curiosity, maintaining this project and especially for supporting a non-standard target in a language the project (blst) itself isn't even written in.