Skip to content
Merged
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: 3 additions & 1 deletion src/libstore/include/nix/store/binary-cache-store.hh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ struct BinaryCacheStoreConfig : virtual StoreConfig
* @note subclasses must implement at least one of the two
* virtual getFile() methods.
*/
struct BinaryCacheStore : virtual Store, virtual LogStore
struct alignas(8) /* Work around ASAN failures on i686-linux. */
BinaryCacheStore : virtual Store,
virtual LogStore
{
using Config = BinaryCacheStoreConfig;

Expand Down
5 changes: 4 additions & 1 deletion src/libstore/include/nix/store/local-fs-store.hh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ public:
this, rootDir.get() ? *rootDir.get() + "/nix/store" : storeDir, "real", "Physical path of the Nix store."};
};

struct LocalFSStore : virtual Store, virtual GcStore, virtual LogStore
struct alignas(8) /* Work around ASAN failures on i686-linux. */
LocalFSStore : virtual Store,
virtual GcStore,
virtual LogStore
{
using Config = LocalFSStoreConfig;

Expand Down
3 changes: 2 additions & 1 deletion src/libstore/ssh-store.cc
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ StoreReference SSHStoreConfig::getReference() const
};
}

struct SSHStore : virtual RemoteStore
struct alignas(8) /* Work around ASAN failures on i686-linux. */
SSHStore : virtual RemoteStore
{
using Config = SSHStoreConfig;

Expand Down
Loading