Commit a6d8abd
committed
doc: Get stdlib dir from make system rather than executable
The `make.jl` docsystem driver was using `Sys.STDLIB` as the canonical list
and location of stdlibs. When `make.jl` is invoked as part of the make system
(e.g. `make -C doc`), I think it makes more sense to use make's idea of where
the stdlibs are. Of course, if you're using a just-built julia to create the docs,
these two notions are identical. However, the docsystem build supports (explicitly
via the `JULIA_EXECUTABLE` option), being built with an external julia executable.
In this case, we should still use the stdlib source from in tree (as we do with
the ordinary base sources). A primary motivation is to let AI agents run the
doctests before they submit PRs without having to do a whole julia build.1 parent 0a970d8 commit a6d8abd
2 files changed
+22
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
1 | 6 | | |
2 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
3 | 22 | | |
4 | 23 | | |
5 | 24 | | |
| |||
28 | 47 | | |
29 | 48 | | |
30 | 49 | | |
31 | | - | |
32 | 50 | | |
33 | 51 | | |
34 | 52 | | |
| |||
0 commit comments