Skip to content

Commit

Permalink
fix fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy committed Jul 12, 2023
1 parent 6f331a3 commit 8b2f341
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/processor_fallback.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ static TargetData<1> arg_target_data(const TargetData<1> &arg, bool require_host
return res;
}

static uint32_t sysimg_init_cb(const void *id)
static uint32_t sysimg_init_cb(const void *id, jl_value_t **rejection_reason)
{
// First see what target is requested for the JIT.
auto &cmdline = get_cmdline_targets();
Expand All @@ -51,7 +51,7 @@ static uint32_t sysimg_init_cb(const void *id)
return best_idx;
}

static uint32_t pkgimg_init_cb(const void *id)
static uint32_t pkgimg_init_cb(const void *id, jl_value_t **rejection_reason)
{
TargetData<1> target = jit_targets.front();
// Find the last name match or use the default one.
Expand Down

0 comments on commit 8b2f341

Please sign in to comment.