Skip to content

Commit

Permalink
[feat] Update
Browse files Browse the repository at this point in the history
  • Loading branch information
ppodolsky committed Jul 26, 2024
1 parent 834dd57 commit cd11106
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM rust:1.80 as builder
FROM --platform=$BUILDPLATFORM rust:1.79 as builder
RUN apt-get update && apt-get install -y \
g++-x86-64-linux-gnu libc6-dev-amd64-cross \
g++-aarch64-linux-gnu libc6-dev-arm64-cross \
Expand All @@ -7,7 +7,7 @@ RUN apt-get update && apt-get install -y \
RUN rustup target add \
x86_64-unknown-linux-gnu aarch64-unknown-linux-gnu armv7-unknown-linux-gnueabihf
RUN rustup toolchain install \
1.80-x86_64-unknown-linux-gnu 1.80-aarch64-unknown-linux-gnu 1.80-armv7-unknown-linux-gnueabihf
1.79-x86_64-unknown-linux-gnu 1.79-aarch64-unknown-linux-gnu 1.79-armv7-unknown-linux-gnueabihf
RUN rustup component add rustfmt
ENV CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=x86_64-linux-gnu-gcc \
CC_x86_64_unknown_linux_gnu=x86_64-linux-gnu-gcc \
Expand Down
6 changes: 3 additions & 3 deletions src/table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ impl Storage {
#[derive(Clone)]
pub struct Table {
author_id: AuthorId,
iroh_doc: iroh::client::MemDoc,
iroh_doc: iroh::client::Doc,
table_config: TableConfig,
cancellation_token: CancellationToken,
task_tracker: TaskTracker,
Expand All @@ -107,7 +107,7 @@ impl Table {
table_name: &str,
author_id: AuthorId,
node: Node<Store>,
iroh_doc: iroh::client::MemDoc,
iroh_doc: iroh::client::Doc,
storage_config: Option<StorageEngineConfig>,
table_config: TableConfig,
cancellation_token: CancellationToken,
Expand Down Expand Up @@ -423,7 +423,7 @@ impl Table {
}
}

pub fn iroh_doc(&self) -> &iroh::client::MemDoc {
pub fn iroh_doc(&self) -> &iroh::client::Doc {
&self.iroh_doc
}

Expand Down

0 comments on commit cd11106

Please sign in to comment.