Skip to content

Commit 2078399

Browse files
committed
Conform README additions to existing text
1 parent ab4ea19 commit 2078399

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ library:
151151
| `custom-setup` | · | | See [Custom setup](#custom-setup) | | |
152152
| `flags` | `flag <name>` | | Map from flag name to flag (see [Flags](#flags)) | | |
153153
| `library` | · | | See [Library fields](#library-fields) | | |
154+
| `foreign-libraries` | `foreign-library <name>` | | Map from foreign library name to a dict of [Foreign library fields](#foreign-library-fields) and global top-level fields. | | `0.39.0` |
154155
| `internal-libraries` | `library <name>` | | Map from internal library name to a dict of [library fields](#library-fields) and global top-level fields. | | `0.21.0` |
155156
| `executables` | `executable <name>` | | Map from executable name to executable (see [Executable fields](#executable-fields)) | | |
156157
| `executable` | `executable <package-name>` | | Shortcut for `executables: { package-name: ... }` | | `0.18.0` |
@@ -328,13 +329,13 @@ This is done to allow compatibility with a wider range of `Cabal` versions.
328329
| `reexported-modules` | · | | |
329330
| `signatures` | · | | |
330331
331-
#### Foreign Library
332+
#### Foreign library fields
332333
333334
| Hpack | Cabal | Default | Notes |
334335
| --- | --- | --- | --- |
335-
| `type` | `type` | | |
336-
| `lib-version-info` | `lib-version-info` | | |
337-
| `options` | `options` | | [https://cabal.readthedocs.io/en/3.4/cabal-package.html#pkg-field-foreign-library-options](Foreign Library Options) |
336+
| `type` | . | | |
337+
| `lib-version-info` | . | | |
338+
| `options` | . | | |
338339
| `other-modules` | · | All modules in `source-dirs` less `main` less any modules mentioned in `when` | |
339340
| `generated-other-modules` | | | Added to `other-modules` and `autogen-modules`. Since `0.23.0`.
340341

0 commit comments

Comments
 (0)