Skip to content

Commit

Permalink
readme: fix note blockquote syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
crazy-max committed Jan 10, 2024
1 parent 6a115af commit dd94c5c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,7 @@ RUN xx-clang --static -o /out/myapp app.c && \
xx-verify --static /out/myapp
```

> **Note**
>
> [!NOTE]
> `XX_VERIFY_STATIC=1` environment variable can be defined to make `xx-verify`
> always verify that the compiler produced a static binary.
Expand Down Expand Up @@ -372,8 +371,7 @@ RUN cargo build --target=$(xx-cargo --print-target-triple) --release --target-di
xx-verify ./build/$(xx-cargo --print-target-triple)/release/hello_cargo
```

> **Note**
>
> [!NOTE]
> `xx-cargo --print-target-triple` does not always have the same value as
> `xx-clang --print-target-triple`. This is because prebuilt Rust and C
> libraries sometimes use a different value.
Expand All @@ -400,8 +398,7 @@ RUN --mount=type=cache,target=/root/.cargo/git/db \
xx-verify ./build/$(xx-cargo --print-target-triple)/release/hello_cargo
```

> **Note**
>
> [!NOTE]
> By calling `cargo fetch` before `ARG TARGETPLATFORM` your packages are
> fetched only once for the whole build while the building happens separately
> for each target architecture.
Expand Down

0 comments on commit dd94c5c

Please sign in to comment.