Validator CLI option to enable just-in-time compilation of BPF (#13789)
* Adds a CLI option to the validator to enable just-in-time compilation of BPF. * Refactoring to use bpf_loader_program instead of feature_set to pass JIT flag from the validator CLI to the executor.
This commit is contained in:
committed by
GitHub
parent
3425e98a6b
commit
a706706572
5
programs/bpf_loader/src/with_jit.rs
Normal file
5
programs/bpf_loader/src/with_jit.rs
Normal file
@@ -0,0 +1,5 @@
|
||||
solana_sdk::declare_builtin!(
|
||||
solana_sdk::bpf_loader::ID,
|
||||
solana_bpf_loader_program_with_jit,
|
||||
solana_bpf_loader_program::process_instruction_jit
|
||||
);
|
Reference in New Issue
Block a user