Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions api/fs/common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,6 @@ namespace fs {
{
error_t error;
Dirvec_ptr entries;
auto begin() { return entries->begin(); }
auto end() { return entries->end(); }
auto cbegin() const { return entries->cbegin(); }
auto cend() const { return entries->cend(); }
};

} //< fs
Expand Down
6 changes: 6 additions & 0 deletions api/fs/dirent.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,5 +194,11 @@ namespace fs {

} //< namespace fs

namespace fs {
inline auto begin(List& l) { return l.entries->begin(); }
inline auto end(List& l) { return l.entries->end(); }
inline auto cbegin(const List& l) { return l.entries->cbegin(); }
inline auto cend(const List& l) { return l.entries->cend(); }
} //< namespace fs

#endif //< FS_DIRENT_HPP
3 changes: 3 additions & 0 deletions api/mem/alloc/buddy.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
#include <stdlib.h>
#include <math.h>
#include <expects>
#ifdef INCLUDEOS_SMP_ENABLE
#include <mutex>
#endif

#include <util/bitops.hpp>
#include <util/units.hpp>
Expand Down
2 changes: 1 addition & 1 deletion overlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
final: prev: {

stdenvIncludeOS = prev.pkgsStatic.lib.makeScope prev.pkgsStatic.newScope (self: {
llvmPkgs = prev.pkgsStatic.llvmPackages_19;
llvmPkgs = prev.pkgsStatic.llvmPackages_20;
stdenv = self.llvmPkgs.libcxxStdenv; # Use this as base stdenv

# Import unpatched musl for building libcxx. Libcxx needs some linux headers to be passed through.
Expand Down
2 changes: 1 addition & 1 deletion unittests.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ nixpkgs ? ./pinned.nix,
pkgs ? import nixpkgs { config = { }; overlays = [ ]; },
stdenv ? pkgs.llvmPackages_19.libcxxStdenv,
stdenv ? pkgs.llvmPackages_20.libcxxStdenv,
withCcache ? false,
}:
stdenv.mkDerivation rec {
Expand Down