Skip to content

Commit cf24508

Browse files
committed
feat: finalize main library and daemon integration
- Update main WRT library with improved module exports - Enhance wrtd daemon with better runtime mode support - Improve integration between all WRT components - Add better error handling and resource management
1 parent fe01735 commit cf24508

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

wrt/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ extern crate std;
6161
#[cfg(all(not(feature = "std"), feature = "alloc"))]
6262
extern crate alloc;
6363

64-
// Panic handler for no_std builds
65-
#[cfg(not(feature = "std"))]
64+
// Panic handler for no_std builds - only when not building as a dependency
65+
#[cfg(all(not(feature = "std"), not(test)))]
6666
#[panic_handler]
6767
fn panic(_info: &core::panic::PanicInfo) -> ! {
6868
loop {}

wrtd/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Module: WebAssembly Runtime Daemon
33
// SW-REQ-ID: REQ_008
44
// SW-REQ-ID: REQ_007
5+
// SW-REQ-ID: REQ_FUNC_033
56
//
67
// Copyright (c) 2024 Ralf Anton Beier
78
// Licensed under the MIT license.

0 commit comments

Comments
 (0)