Chris A.

Results 177 comments of Chris A.

@UebelAndre I'm very interested in this. I have a need for determinism, are you using `incremental=false`? I have a vague recollection that reproducible builds generally require that the build not...

@saurabhnanda those modules are provisional workarounds, they're not intended to grow any more than necessary. I wanted a way to deal with the `random()`/`rand()` split. Anything that works in common...

I'd be in favor of adding `unsafeSqlFunction` to the tutorial if it came with loud disclaimers and demonstrated the proper pattern: using `unsafeSqlFunction` _once_ to define a helper, preferably one...

@FintanH this is the parent ticket. I'm particularly concerned with any source of runtime errors (partiality). When we think the runtime errors are reasonably well catalogued and documented, can think...

`ghostty` does this correctly and I'd like to see the same for cosmic terminal.

``` build:linux --@rules_rust//rust/settings:experimental_use_cc_common_link=True build:linux --@rules_rust//rust/settings:extra_rustc_flag=-Clink-arg=-fuse-ld=lld-19 ``` Got me: ``` INFO: Analyzed 56 targets (0 packages loaded, 24983 targets configured). ERROR: /home/gh-runner/.cache/bazel/_bazel_gh-runner/58b7b47ee097fdc1b06b3e6b39197a42/external/rules_rust++crate+crates__curve25519-dalek-4.1.3/BUILD.bazel:109:19: Linking external/rules_rust++crate+crates__curve25519-dalek-4.1.3/_bs_ [for tool] failed: (Exit 1): gcc failed:...

with this: ``` build --compilation_mode=opt build --@rules_rust//rust/settings:lto=thin build --@rules_rust//rust/settings:extra_rustc_flag=-Copt-level=3 build --@rules_rust//rust/settings:extra_rustc_flag=-Ccodegen-units=1 build --@rules_rust//rust/settings:extra_rustc_flag=-Cdebug-assertions=off build --@rules_rust//rust/settings:extra_rustc_flag=-Coverflow-checks=off build --@rules_rust//rust/settings:extra_rustc_flag=-Cdebuginfo=1 build --@rules_rust//rust/settings:extra_rustc_flag=-Cincremental=false build:linux --@rules_rust//rust/settings:experimental_use_cc_common_link=True build:linux --linkopt=-fuse-ld=lld ``` I get further but then one...

``` build --@rules_rust//rust/settings:extra_rustc_flag=-Cdebug-assertions=off build --@rules_rust//rust/settings:extra_rustc_flag=-Coverflow-checks=off build --@rules_rust//rust/settings:extra_rustc_flag=-Cdebuginfo=1 build --@rules_rust//rust/settings:extra_rustc_flag=-Cincremental=false build:linux --@rules_rust//rust/settings:experimental_use_cc_common_link=True build:linux --linkopt=-fuse-ld=lld ``` Got it to build with this, but no LTO.

> My experience is that, that this error is happening when the local LLVM (lld) version which is used for linking is not compatible with the LLVM version used in...

Potentially relevant thread: https://github.com/rust-lang/rust/issues/49879#issuecomment-380846533