Skip to content

Commit

Permalink
WIP segfault somewhere
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewilliamboswell committed Sep 4, 2024
1 parent eb9e3f7 commit 966db3a
Show file tree
Hide file tree
Showing 6 changed files with 373 additions and 679 deletions.
9 changes: 7 additions & 2 deletions crates/roc_fn/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,17 @@ const ROC_HOSTED_FNS: &[HostedFn] = &[
HostedFn {
name: "jwtDecodingKeyFromSimpleSecret",
arg_types: &["&RocStr"],
ret_type: "roc_std::RocResult<RocBox<()>, RocStr>",
ret_type: "roc_std::RocResult<RocBox<()>, glue_internal_jwt::JwtErr>",
},
HostedFn {
name: "jwtDecodingKeyFromRsaPem",
arg_types: &["&RocStr"],
ret_type: "roc_std::RocResult<RocBox<()>, RocStr>",
ret_type: "roc_std::RocResult<RocBox<()>, glue_internal_jwt::JwtErr>",
},
HostedFn {
name: "jwtDecode",
arg_types: &["&RocStr", "&RocBox<()>", "&glue_internal_jwt::Validation"],
ret_type: "roc_std::RocResult<glue_internal_jwt::Token, glue_internal_jwt::JwtErr>",
},
];

Expand Down
Loading

0 comments on commit 966db3a

Please sign in to comment.