[Git][ghc/ghc][wip/torsten.schmits/doc-fix-linear-types-link] 3 commits: rts: Work around missing prototypes errors
Torsten Schmits (@torsten.schmits)
gitlab at gitlab.haskell.org
Sat Jun 24 21:38:41 UTC 2023
Torsten Schmits pushed to branch wip/torsten.schmits/doc-fix-linear-types-link at Glasgow Haskell Compiler / GHC
Commits:
5b6612bc by Ben Gamari at 2023-06-23T03:56:49-04:00
rts: Work around missing prototypes errors
Darwin's toolchain inexpliciably claims that `write_barrier` and friends
have declarations without prototypes, despite the fact that (a) they are
definitions, and (b) the prototypes appear only a few lines above. Work
around this by making the definitions proper prototypes.
- - - - -
43b66a13 by Matthew Pickering at 2023-06-23T03:57:26-04:00
ghcup-metadata: Fix date modifier (M = minutes, m = month)
Fixes #23552
- - - - -
6a6d7221 by Torsten Schmits at 2023-06-24T23:38:34+02:00
Remove duplicate link label in linear types docs
- - - - -
3 changed files:
- .gitlab-ci.yml
- docs/users_guide/exts/linear_types.rst
- rts/include/stg/SMP.h
Changes:
=====================================
.gitlab-ci.yml
=====================================
@@ -1063,7 +1063,7 @@ ghcup-metadata-nightly:
artifacts: false
- job: project-version
script:
- - nix shell --extra-experimental-features nix-command -f .gitlab/rel_eng -c ghcup-metadata --metadata ghcup-0.0.7.yaml --date="$(date -d $CI_PIPELINE_CREATED_AT +%Y-%M-%d)" --pipeline-id="$CI_PIPELINE_ID" --version="$ProjectVersion" > "metadata_test.yaml"
+ - nix shell --extra-experimental-features nix-command -f .gitlab/rel_eng -c ghcup-metadata --metadata ghcup-0.0.7.yaml --date="$(date -d $CI_PIPELINE_CREATED_AT +%Y-%m-%d)" --pipeline-id="$CI_PIPELINE_ID" --version="$ProjectVersion" > "metadata_test.yaml"
rules:
- if: $NIGHTLY
@@ -1100,7 +1100,7 @@ ghcup-metadata-release:
# No explicit needs for release pipeline as we assume we need everything and everything will pass.
extends: .ghcup-metadata
script:
- - nix shell --extra-experimental-features nix-command -f .gitlab/rel_eng -c ghcup-metadata --release-mode --metadata ghcup-0.0.7.yaml --date="$(date -d $CI_PIPELINE_CREATED_AT +%Y-%M-%d)" --pipeline-id="$CI_PIPELINE_ID" --version="$ProjectVersion" > "metadata_test.yaml"
+ - nix shell --extra-experimental-features nix-command -f .gitlab/rel_eng -c ghcup-metadata --release-mode --metadata ghcup-0.0.7.yaml --date="$(date -d $CI_PIPELINE_CREATED_AT +%Y-%m-%d)" --pipeline-id="$CI_PIPELINE_ID" --version="$ProjectVersion" > "metadata_test.yaml"
rules:
- if: '$RELEASE_JOB == "yes"'
=====================================
docs/users_guide/exts/linear_types.rst
=====================================
@@ -14,7 +14,7 @@ Linear types
warts, and bad error messages; everything down to the syntax is
subject to change**. See, in particular,
:ref:`linear-types-limitations` below. We encourage you to experiment
-with this extension and report issues in the GHC bug tracker `the GHC
+with this extension and report issues in `the GHC
bug tracker <https://gitlab.haskell.org/ghc/ghc/issues>`__, adding the
tag ``LinearTypes``.
=====================================
rts/include/stg/SMP.h
=====================================
@@ -589,9 +589,9 @@ load_load_barrier(void) {
EXTERN_INLINE void write_barrier(void);
EXTERN_INLINE void store_load_barrier(void);
EXTERN_INLINE void load_load_barrier(void);
-EXTERN_INLINE void write_barrier () {} /* nothing */
-EXTERN_INLINE void store_load_barrier() {} /* nothing */
-EXTERN_INLINE void load_load_barrier () {} /* nothing */
+EXTERN_INLINE void write_barrier (void) {} /* nothing */
+EXTERN_INLINE void store_load_barrier(void) {} /* nothing */
+EXTERN_INLINE void load_load_barrier (void) {} /* nothing */
// Relaxed atomic operations
#define RELAXED_LOAD(ptr) *ptr
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/74f96c1fb57b93b0ba5b93541adf1361599a89ee...6a6d7221b0525e9cd32e9a02f1ebe44879125218
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/74f96c1fb57b93b0ba5b93541adf1361599a89ee...6a6d7221b0525e9cd32e9a02f1ebe44879125218
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230624/7833bfb3/attachment-0001.html>
More information about the ghc-commits
mailing list