Andrew Kelley
89a491a1d5
CI: fix wrong path name in x86_64-linux release script
...
I verified that the script will pass with this change.
2023-01-09 14:39:02 -07:00
Loris Cro
779674aaca
ci: only run CI on pull requests and master branch pushes
...
To get the CI to run on branches other than master, create a corresponding PR.
2023-01-09 14:38:57 -07:00
Andrew Kelley
60242d6210
CI: disable building docs on x86_64-linux debug
...
See tracking issue #13546
2023-01-09 14:38:51 -07:00
Veikka Tuominen
7d812dc1c7
llvm: fix x86_64 sysV ABI of big vectors on avx512 enabled CPUs
...
Closes #13629
2023-01-09 14:38:35 -07:00
Andrew Kelley
6b1f99dd33
Merge branch 'ci-secure'
2023-01-09 14:38:28 -07:00
Andrew Kelley
090eb347a4
disable failing C ABI test
...
see tracking issue #13629
2023-01-09 14:38:19 -07:00
Jakub Konka
58d4d083ea
value: account for undef value for ptr in slice in hashUncoerced
2023-01-09 14:38:04 -07:00
Andrew Kelley
30e09270fb
CI: add missing backslash
2023-01-09 14:37:49 -07:00
Andrew Kelley
e1da555148
CI: fix wrong directory paths
2023-01-09 14:37:43 -07:00
Andrew Kelley
9dd1899e43
CI: fix wrong lib dir path
2023-01-09 14:37:39 -07:00
Andrew Kelley
5f23b65901
CI: build from old zig on x86_64-linux debug
...
This is to work around OOM on the CI server. Once #13560 is complete,
we can avoid having to replace the tarballs so often.
2023-01-09 14:37:35 -07:00
Andrew Kelley
8bbb4a2f81
disable failing arm-linux non-llvm backend tests
...
See #13623
2023-01-09 14:37:30 -07:00
Andrew Kelley
8f2bb38a09
CI: fix wrong tarball name for aarch64-linux
2023-01-09 14:37:26 -07:00
Andrew Kelley
d27007cd7e
CI: switch to GitHub Actions
...
This is a merge commit.
2023-01-09 14:37:20 -07:00
Andrew Kelley
2bbaf95ebe
Merge pull request #11828 from devins2518/arm-atomics
...
compiler_rt: aarch64 outline atomics
2023-01-09 14:36:40 -07:00
Veikka Tuominen
a3232c6764
Merge pull request #13585 from Vexu/stage2-fixes
...
Stage2 bug fixes
2023-01-09 14:35:42 -07:00
joachimschmidt557
10a660ebea
stage2 ARM: misc fixes
...
- remove redundant `new` from `binOpRegisterNew` name
- fix mul_with_overflow
2023-01-09 14:35:32 -07:00
David Gonzalez Martin
9498c95faf
uefi: Delete unneeded alignment and use default 4K
...
Closes #7484 . Right now for UEFI targets an alignment
of 32 is being used for no reason other than support
a rare bytecode. As this is far from the standard case,
removing this alignment and using the default one,
as most toolchains do, should be the desired behavior.
2023-01-09 14:35:21 -07:00
Andrew Kelley
06dfa88d3f
fix CPU model detection for neoverse_n1 on aarch64-linux
...
see #10086
2023-01-09 14:34:40 -07:00
Veikka Tuominen
da418ee0af
translate-c: cast unsuffixed floats to f64
2023-01-09 14:34:05 -07:00
Guillaume Wenzek
58ac0082d2
compute LLVMTypes in ParamTypeIterator ( #13592 )
...
follow up on #13376 - fixes a bug in the x86_64 C ABI.
Co-authored-by: Veikka Tuominen <git@vexu.eu>
2023-01-09 14:33:43 -07:00
Guillaume Wenzek
4428e3837c
add C ABI tests with double
...
const DC = extern struct { v1: f64, v2: u8 };
const CFF = extern struct { v1: u8, v2: f32, v3: f32 };
const PD = extern struct { v1: ?*anyopaque, v2: f64 };
Signed-off-by: Guillaume Wenzek <gwenzek@users.noreply.github.com>
2023-01-09 14:33:27 -07:00
Ali Chraghi
1702404adf
os: windows: fix unhandled error
2023-01-09 14:29:59 -07:00
Jimmi Holst Christensen
dd175e2928
c backend: Output string literals for array init of bytes
2023-01-09 14:29:59 -07:00
Casey Banner
90fedf24fc
linker: fail the compilation if there were linker errors
...
There was no check for linker errors after flushing,
which meant that if the link failed the build would
continue and try to copy the non-existant exe, and
also write the manifest as if it had succeeded.
Also adds parsing of lld output, which is surfaced at the
end of the compilation with the other errors instead
of via stderr
2023-01-09 14:29:59 -07:00
remeh
a5bcdfd27e
std.array_list: add a comment on every methods invalidating pointers.
...
While it is already mentioned on the `items` attributes of the structs, it is
interesting to comment in every method potentially invalidating pointers to items
that they may do so.
2023-01-09 14:18:45 -07:00
kcbanner
c5900224fd
windows: fix _tls_index not being defined if libc wasn't linked, and fix x86 name mangling
2023-01-09 14:18:09 -07:00
Jonathan Marler
9f215318b8
packed struct fix example and clarify least to most significant ordering
...
The packed struct example was mistakenly applying endianness where it
shouldn't have been. This wasn't being caught because we don't currently
test the examples on Big-endian systems.
I updated the test to remove the endianness where it didn't apply, and
added a new part of the test to demonstrate when it would apply.
2023-01-09 14:18:01 -07:00
Guillaume Wenzek
91b8d9e370
fix Nvptx backend outputing files at the top level of zig-cache
2023-01-09 14:17:29 -07:00
Andrew Kelley
6064477928
Merge pull request #13561 from jacobly0/gcc-warnings
2023-01-09 14:17:06 -07:00
Veikka Tuominen
4ed0cd51c0
Merge pull request #13558 from Vexu/stage2-fixes
...
Stage2 bug fixes to get third party projects building
2023-01-09 14:06:50 -07:00
mike
9e50cb294b
zig-cache: support windows drive + fwd-slash paths
...
closes #13539
2023-01-09 14:06:29 -07:00
GethDW
6494cec59c
std.build: fix typo
...
This would only fail to compile when building *on* WASI.
2023-01-09 14:06:13 -07:00
mparadinha
35c13c262c
Fix error reporting the wrong line for struct field inits ( #13502 )
...
* point to init part of field delc when that's where the error occurs
* update test to reflect fixed error message
* only lookup source location in case of error
2023-01-09 14:05:29 -07:00
Hayden Pope
2d623d7774
std.os.linux: Add setitimer and getitimer syscalls
2023-01-09 14:05:18 -07:00
Andrew Kelley
d6ee8cb063
CI: disable github workflows until it is working in the ci branch
2023-01-09 14:05:07 -07:00
Andrew Kelley
b10386bcf0
disable failing test on aarch64-macos
2023-01-09 14:05:04 -07:00
Andrew Kelley
3591c51fbe
CI: aarch64-linux: init
2023-01-09 14:04:56 -07:00
Andrew Kelley
2623b5cf3a
macos: x86_64: fix wrong path to cmake
2023-01-09 14:04:53 -07:00
Andrew Kelley
390fb9a3ca
CI: aarch64-macos: set PATH env var for cmake
2023-01-09 14:04:49 -07:00
Andrew Kelley
db58a45ab6
CI: separate aarch64 and x86_64 macos scripts
2023-01-09 14:04:45 -07:00
Loris Cro
dc96e47eb3
ci: init github actions support
2023-01-09 14:04:40 -07:00
Frank Denis
b239a178c5
crypto.bcrypt: fix massive speed regression when using stage2 ( #13518 )
...
state: State -> state: *const State
Suggested by @nektro
Fixes #13510
2023-01-09 14:03:11 -07:00
Motiejus Jakštys
50fb7a4144
musl.zig: remove unused enum ( #13545 )
2023-01-09 14:03:04 -07:00
Andrew Kelley
013d615077
Merge pull request #13536 from ziglang/cbe-zig-h
...
C backend: improve ergonomics of zig.h a little bit
2023-01-09 14:02:44 -07:00
Veikka Tuominen
33fe7f2881
Sema: remove block and src parameters from getBuiltin
...
These parameters are only ever needed when `std.builtin` is out of sync
with the compiler in which case panicking is the only valid operation
anyways. Removing them causes a domino effect of functions no longer
needing a `src` and/or a `block` parameter resulting in handling
compilation errors where they are actually meaningful becoming simpler.
2023-01-09 14:02:34 -07:00
Jonathan
568a619251
pthread_sigmask
2023-01-09 14:01:57 -07:00
Veikka Tuominen
b494f6a9dc
Merge pull request #13497 from Vexu/stage2-fixes
...
Stage2 bug fixes
2023-01-09 14:01:01 -07:00
Stevie Hryciw
7748d2bb44
langref: add appendix and explain 'container' terminology
2023-01-09 14:00:35 -07:00
Jakub Konka
56195aa73c
pdb: make SuperBlock def public
2023-01-09 14:00:21 -07:00