Skip to content

Commit

Permalink
[runtime] Enhancement: Add fixme
Browse files Browse the repository at this point in the history
  • Loading branch information
iyzhang committed Dec 8, 2023
1 parent e2bdef7 commit 1d1ae48
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/rust/demikernel/libos/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -308,12 +308,16 @@ impl NetworkLibOS {
pub fn sgaalloc(&self, size: usize) -> Result<demi_sgarray_t, Fail> {
match self {
#[cfg(feature = "catpowder-libos")]
// TODO: Move this over to the transport once we set that up.
// FIXME: https://github.com/microsoft/demikernel/issues/1057
NetworkLibOS::Catpowder { runtime: _, libos } => libos.sgaalloc(size),
#[cfg(all(feature = "catnap-libos"))]
NetworkLibOS::Catnap { runtime, libos: _ } => runtime.sgaalloc(size),
#[cfg(feature = "catcollar-libos")]
NetworkLibOS::Catcollar { runtime, libos: _ } => runtime.sgaalloc(size),
#[cfg(feature = "catnip-libos")]
// TODO: Move this over to the transport once we set that up.
// FIXME: https://github.com/microsoft/demikernel/issues/1057
NetworkLibOS::Catnip { runtime: _, libos } => libos.sgaalloc(size),
#[cfg(feature = "catloop-libos")]
NetworkLibOS::Catloop { runtime, libos: _ } => runtime.sgaalloc(size),
Expand Down

0 comments on commit 1d1ae48

Please sign in to comment.