If we don't have a `.git` directory during build, then don't try and run `git` commands to get e.g. history and last changed for policy files and changelog.
Closes#4497
* Don't try and hack the compilation results
Carbon tried to synthesize "having run" by overriding and hacking a result routine...but did so _after_ it had been cached. So cached results were broken, but live results not.
This "fixes" by adding a post-compilation, but pre-cache hook and uses that instead. Naming is terrible.
I also took the time to fix the `CompilationResult`'s `buildResult`
Closes#4426
gccrs is still in heavy dev and to avoid anyone missing this crucial info, it
has introduced a very explicit option and required option:
-frust-incomplete-and-experimental-compiler-do-not-use
The compiler emits a very verbose error if this option is missing.
refs https://github.com/Rust-GCC/gccrs/pull/1540
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
* Converted amd64 docs to ts
* 6502
* 6502 part 2
* arm
* avr
* evm
* java
* llvm
* python
* Fix bug with only getting the first paragraph
* Updated help messages
`rustfilt` ended up at a different path for me, and the "absolute path as compiler name" compatibility kludge seems not to work anymore.
(Also, this way it matters less where rustc is installed.)
This reverts commit 92ec9fcfdd.
When brought up in staging, there were no languages or compilers at all.
https://github.com/compiler-explorer/infra/actions/runs/3528313971/jobs/5918286664 looks ok but
```
Nov 23 01:17:40Z ip-172-30-0-7 amazon.staging info: Using s3 storage solution on us-east-1, bucket storage.godbolt.org, prefix state, dynamo table links
Nov 23 01:17:40Z ip-172-30-0-7 amazon.staging info: =======================================
Nov 23 01:17:40Z ip-172-30-0-7 amazon.staging info: git release 92ec9fcfdd
Nov 23 01:17:40Z ip-172-30-0-7 amazon.staging info: release build gh-4994
Nov 23 01:17:40Z ip-172-30-0-7 amazon.staging info: Creating directory /tmp/ce-wine-prefix
Nov 23 01:17:40Z ip-172-30-0-7 amazon.staging info: Connected to Papertrail at logs7.papertrailapp.com:23377
Nov 23 01:17:40Z ip-172-30-0-7 amazon.staging info: Killing any pre-existing wine-server
Nov 23 01:17:40Z ip-172-30-0-7 amazon.staging info: Result: [object Object]
Nov 23 01:17:40Z ip-172-30-0-7 amazon.staging info: Waiting for any pre-existing server to stop...
Nov 23 01:17:40Z ip-172-30-0-7 amazon.staging info: Result: [object Object]
Nov 23 01:17:40Z ip-172-30-0-7 amazon.staging info: Starting a new, firejailed, long-lived wineserver complex
Nov 23 01:17:40Z ip-172-30-0-7 amazon.staging info: firejailed pid=8993
Nov 23 01:17:40Z ip-172-30-0-7 amazon.staging info: Creating compilers: 0
Nov 23 01:17:41Z ip-172-30-0-7 amazon.staging info: Compilers created: 0
Nov 23 01:17:41Z ip-172-30-0-7 amazon.staging info: Fetching possible arguments from storage
Nov 23 01:17:41Z ip-172-30-0-7 amazon.staging info: Configured with Sentry endpoint https://8e4614f649ad4e3faf3e7e8827b935f9@sentry.io/102028
Nov 23 01:17:41Z ip-172-30-0-7 amazon.staging info: Compiler scan count: 0
Nov 23 01:17:41Z ip-172-30-0-7 amazon.staging error: #### No compilers found: no compilation will be done!
```
on staging