This is an automated email from the ASF dual-hosted git repository.

xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opendal.git


The following commit(s) were added to refs/heads/main by this push:
     new e06c83310 refactor(core): remove conditional compilation in PageList 
trait (#6715)
e06c83310 is described below

commit e06c833103a3b3985692dc5f2779ebd1811550a7
Author: crwen <[email protected]>
AuthorDate: Tue Oct 21 15:16:24 2025 +0800

    refactor(core): remove conditional compilation in PageList trait (#6715)
    
    refactor: remove conditional compilation in PageList trait
---
 core/src/raw/oio/list/page_list.rs | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/core/src/raw/oio/list/page_list.rs 
b/core/src/raw/oio/list/page_list.rs
index efdd826e3..4e02beb06 100644
--- a/core/src/raw/oio/list/page_list.rs
+++ b/core/src/raw/oio/list/page_list.rs
@@ -33,11 +33,7 @@ use crate::*;
 /// - Expose `PageLister` as `Accessor::Lister`
 pub trait PageList: Send + Sync + Unpin + 'static {
     /// next_page is used to fetch next page of entries from underlying 
storage.
-    #[cfg(not(target_arch = "wasm32"))]
     fn next_page(&self, ctx: &mut PageContext) -> impl Future<Output = 
Result<()>> + MaybeSend;
-    #[cfg(target_arch = "wasm32")]
-    /// next_page is used to fetch next page of entries from underlying 
storage.
-    fn next_page(&self, ctx: &mut PageContext) -> impl Future<Output = 
Result<()>>;
 }
 
 /// PageContext is the context passing between `PageList`.

Reply via email to