Skip to content

Commit

Permalink
Update example-usage.md to remove reference to simd and rust nightly. (
Browse files Browse the repository at this point in the history
…#9677)

* Fix to_timestamp benchmark

* Remove reference to simd and nightly build as simd is no longer an available feature in DataFusion and building with nightly may not be a good recommendation when getting started.
  • Loading branch information
Omega359 authored Mar 18, 2024
1 parent 2c7cf5f commit c0a21b2
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions docs/source/user-guide/example-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,17 +240,11 @@ async fn main() -> datafusion::error::Result<()> {
}
```

Finally, in order to build with the `simd` optimization `cargo nightly` is required.

```shell
rustup toolchain install nightly
```

Based on the instruction set architecture you are building on you will want to configure the `target-cpu` as well, ideally
with `native` or at least `avx2`.

```shell
RUSTFLAGS='-C target-cpu=native' cargo +nightly run --release
RUSTFLAGS='-C target-cpu=native' cargo run --release
```

## Enable backtraces
Expand Down

0 comments on commit c0a21b2

Please sign in to comment.