compilation fixes and update wakusys/vendor

This commit is contained in:
Ivan Folgueira Bande 2024-12-17 10:00:24 +01:00
parent 51ea3be78f
commit a5338bf03c
No known key found for this signature in database
GPG Key ID: 3C117481F89E24A7
3 changed files with 2 additions and 6 deletions

View File

@ -16,10 +16,6 @@ use crate::utils::{get_trampoline, handle_json_response, handle_no_response, han
/// Instantiates a Waku node
/// as per the [specification](https://rfc.vac.dev/spec/36/#extern-char-waku_newchar-jsonconfig)
pub fn waku_new(config: Option<WakuNodeConfig>) -> Result<WakuNodeContext> {
unsafe {
waku_sys::waku_setup();
}
let config = config.unwrap_or_default();
let config_ptr = CString::new(
serde_json::to_string(&config)

View File

@ -8,7 +8,7 @@ use libc::*;
// internal
use crate::general::contenttopic::{Encoding, WakuContentTopic};
use crate::general::pubsubtopic::PubsubTopic;
use crate::general::{MessageHash, Result, WakuMessage};
use crate::general::{messagehash::MessageHash, Result, WakuMessage};
use crate::node::context::WakuNodeContext;
use crate::utils::{get_trampoline, handle_no_response, handle_response, LibwakuResponse};

@ -1 +1 @@
Subproject commit 6f5f8b835cd65381988658642bdbbd7b7281e367
Subproject commit 5cff6069590957405bb5d7f2ab05bf3621c6df0f