@@ -350,6 +350,9 @@ clippy_integer: install_rs_check_toolchain
350350 RUSTFLAGS=" $( RUSTFLAGS) " cargo " $( CARGO_RS_CHECK_TOOLCHAIN) " clippy \
351351 --features=integer,experimental \
352352 -p $(TFHE_SPEC ) -- --no-deps -D warnings
353+ RUSTFLAGS=" $( RUSTFLAGS) " cargo " $( CARGO_RS_CHECK_TOOLCHAIN) " clippy \
354+ --features=integer,experimental,extended-types \
355+ -p $(TFHE_SPEC ) -- --no-deps -D warnings
353356
354357.PHONY : clippy # Run clippy lints enabling the boolean, shortint, integer
355358clippy : install_rs_check_toolchain
@@ -388,10 +391,10 @@ clippy_c_api: install_rs_check_toolchain
388391.PHONY : clippy_js_wasm_api # Run clippy lints enabling the boolean, shortint, integer and the js wasm API
389392clippy_js_wasm_api : install_rs_check_toolchain
390393 RUSTFLAGS=" $( RUSTFLAGS) " cargo " $( CARGO_RS_CHECK_TOOLCHAIN) " clippy \
391- --features=boolean-client-js-wasm-api,shortint-client-js-wasm-api,integer-client-js-wasm-api,high-level-client-js-wasm-api,zk-pok \
394+ --features=boolean-client-js-wasm-api,shortint-client-js-wasm-api,integer-client-js-wasm-api,high-level-client-js-wasm-api,zk-pok,extended-types \
392395 -p $(TFHE_SPEC ) -- --no-deps -D warnings
393396 RUSTFLAGS=" $( RUSTFLAGS) " cargo " $( CARGO_RS_CHECK_TOOLCHAIN) " clippy \
394- --features=boolean-client-js-wasm-api,shortint-client-js-wasm-api,integer-client-js-wasm-api,high-level-client-js-wasm-api \
397+ --features=boolean-client-js-wasm-api,shortint-client-js-wasm-api,integer-client-js-wasm-api,high-level-client-js-wasm-api,extended-types \
395398 -p $(TFHE_SPEC ) -- --no-deps -D warnings
396399
397400.PHONY : clippy_tasks # Run clippy lints on helper tasks crate.
@@ -407,10 +410,10 @@ clippy_trivium: install_rs_check_toolchain
407410.PHONY : clippy_all_targets # Run clippy lints on all targets (benches, examples, etc.)
408411clippy_all_targets : install_rs_check_toolchain
409412 RUSTFLAGS=" $( RUSTFLAGS) " cargo " $( CARGO_RS_CHECK_TOOLCHAIN) " clippy --all-targets \
410- --features=boolean,shortint,integer,internal-keycache,zk-pok,strings,pbs-stats \
413+ --features=boolean,shortint,integer,internal-keycache,zk-pok,strings,pbs-stats,extended-types \
411414 -p $(TFHE_SPEC ) -- --no-deps -D warnings
412415 RUSTFLAGS=" $( RUSTFLAGS) " cargo " $( CARGO_RS_CHECK_TOOLCHAIN) " clippy --all-targets \
413- --features=boolean,shortint,integer,internal-keycache,zk-pok,strings,pbs-stats,experimental \
416+ --features=boolean,shortint,integer,internal-keycache,zk-pok,strings,pbs-stats,extended-types, experimental \
414417 -p $(TFHE_SPEC ) -- --no-deps -D warnings
415418
416419.PHONY : clippy_tfhe_csprng # Run clippy lints on tfhe-csprng
@@ -529,15 +532,15 @@ build_web_js_api: install_rs_build_toolchain install_wasm_pack
529532 cd tfhe && \
530533 RUSTFLAGS=" $( WASM_RUSTFLAGS) " rustup run " $( RS_BUILD_TOOLCHAIN) " \
531534 wasm-pack build --release --target=web \
532- -- --features=boolean-client-js-wasm-api,shortint-client-js-wasm-api,integer-client-js-wasm-api,zk-pok
535+ -- --features=boolean-client-js-wasm-api,shortint-client-js-wasm-api,integer-client-js-wasm-api,zk-pok,extended-types
533536
534537.PHONY : build_web_js_api_parallel # Build the js API targeting the web browser with parallelism support
535538build_web_js_api_parallel : install_rs_check_toolchain install_wasm_pack
536539 cd tfhe && \
537540 rustup component add rust-src --toolchain $(RS_CHECK_TOOLCHAIN ) && \
538541 RUSTFLAGS=" $( WASM_RUSTFLAGS) -C target-feature=+atomics,+bulk-memory" rustup run $(RS_CHECK_TOOLCHAIN ) \
539542 wasm-pack build --release --target=web \
540- -- --features=boolean-client-js-wasm-api,shortint-client-js-wasm-api,integer-client-js-wasm-api,parallel-wasm-api,zk-pok \
543+ -- --features=boolean-client-js-wasm-api,shortint-client-js-wasm-api,integer-client-js-wasm-api,parallel-wasm-api,zk-pok,extended-types \
541544 -Z build-std=panic_abort,std && \
542545 find pkg/snippets -type f -iname workerHelpers.js -exec sed -i " s|const pkg = await import('..\/..\/..');|const pkg = await import('..\/..\/..\/tfhe.js');|" {} \;
543546 jq ' .files += ["snippets"]' tfhe/pkg/package.json > tmp_pkg.json && mv -f tmp_pkg.json tfhe/pkg/package.json
@@ -547,7 +550,7 @@ build_node_js_api: install_rs_build_toolchain install_wasm_pack
547550 cd tfhe && \
548551 RUSTFLAGS=" $( WASM_RUSTFLAGS) " rustup run " $( RS_BUILD_TOOLCHAIN) " \
549552 wasm-pack build --release --target=nodejs \
550- -- --features=boolean-client-js-wasm-api,shortint-client-js-wasm-api,integer-client-js-wasm-api,zk-pok
553+ -- --features=boolean-client-js-wasm-api,shortint-client-js-wasm-api,integer-client-js-wasm-api,zk-pok,extended-types
551554
552555.PHONY : build_tfhe_csprng # Build tfhe_csprng
553556build_tfhe_csprng : install_rs_build_toolchain
0 commit comments