From a81594f8ac652bb424bb76248cb34925fce8a831 Mon Sep 17 00:00:00 2001 From: RichieWilynnton Date: Wed, 17 Jan 2024 19:47:12 +0800 Subject: [PATCH 1/5] reversed merge issue --- stdlib/Libdl/test/runtests.jl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/stdlib/Libdl/test/runtests.jl b/stdlib/Libdl/test/runtests.jl index cbff36c870fe7..ef7b8abf83337 100644 --- a/stdlib/Libdl/test/runtests.jl +++ b/stdlib/Libdl/test/runtests.jl @@ -331,7 +331,5 @@ end end; end @testset "Docstrings" begin - undoc = Docs.undocumented_names(Libdl) - @test_broken isempty(undoc) - @test undoc == [:Libdl] + @test isempty(Docs.undocumented_names(Libdl)) end From 24e1bcc4be9999251512e2caea9e55082da9a3fb Mon Sep 17 00:00:00 2001 From: RichieWilynnton Date: Wed, 17 Jan 2024 19:55:13 +0800 Subject: [PATCH 2/5] Re-added changes --- stdlib/Libdl/docs/src/index.md | 5 +++++ stdlib/Libdl/src/Libdl.jl | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/stdlib/Libdl/docs/src/index.md b/stdlib/Libdl/docs/src/index.md index 608562cfb410d..597c51099f623 100644 --- a/stdlib/Libdl/docs/src/index.md +++ b/stdlib/Libdl/docs/src/index.md @@ -2,6 +2,11 @@ EditURL = "https://github.com/JuliaLang/julia/blob/master/stdlib/Libdl/docs/src/index.md" ``` +The Libdl module in Julia provides specialized and lower-level facilities for dynamic linking with shared libraries. While Julia +inherently supports linking to runtime shared libraries through the `ccall intrinsic, `Libdl` extends this capability by offering additional, more +granular control. It enables users to search for shared libraries both in memory and the filesystem, manually load them with specific runtime linker options, and look up +library symbols as low-level pointers. + # Dynamic Linker ```@docs diff --git a/stdlib/Libdl/src/Libdl.jl b/stdlib/Libdl/src/Libdl.jl index 0df70ea1daac5..1ba905bd9692f 100644 --- a/stdlib/Libdl/src/Libdl.jl +++ b/stdlib/Libdl/src/Libdl.jl @@ -1,5 +1,10 @@ # This file is a part of Julia. License is MIT: https://julialang.org/license - +""" +The Libdl module in Julia provides specialized and lower-level facilities for dynamic linking with shared libraries. While Julia +inherently supports linking to runtime shared libraries through the `ccall intrinsic, `Libdl` extends this capability by offering additional, more +granular control. It enables users to search for shared libraries both in memory and the filesystem, manually load them with specific runtime linker options, and look up +library symbols as low-level pointers. +""" module Libdl # Just re-export Base.Libc.Libdl: export DL_LOAD_PATH, RTLD_DEEPBIND, RTLD_FIRST, RTLD_GLOBAL, RTLD_LAZY, RTLD_LOCAL, From 5fc4fb6133e87718d0141219281ddd40ea44a6a4 Mon Sep 17 00:00:00 2001 From: Richie Wilynnton <90733565+RichieWilynnton@users.noreply.github.com> Date: Wed, 24 Jan 2024 23:15:44 +0800 Subject: [PATCH 3/5] Update stdlib/Libdl/src/Libdl.jl Co-authored-by: Steven G. Johnson --- stdlib/Libdl/src/Libdl.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/Libdl/src/Libdl.jl b/stdlib/Libdl/src/Libdl.jl index 1ba905bd9692f..2a8f800c69194 100644 --- a/stdlib/Libdl/src/Libdl.jl +++ b/stdlib/Libdl/src/Libdl.jl @@ -1,7 +1,7 @@ # This file is a part of Julia. License is MIT: https://julialang.org/license """ The Libdl module in Julia provides specialized and lower-level facilities for dynamic linking with shared libraries. While Julia -inherently supports linking to runtime shared libraries through the `ccall intrinsic, `Libdl` extends this capability by offering additional, more +inherently supports linking to runtime shared libraries through the `ccall` intrinsic, `Libdl` extends this capability by offering additional, more granular control. It enables users to search for shared libraries both in memory and the filesystem, manually load them with specific runtime linker options, and look up library symbols as low-level pointers. """ From 3e09df5433d8eb3fcc553fe3fb25cfa192d03696 Mon Sep 17 00:00:00 2001 From: Jameson Nash Date: Tue, 30 Jan 2024 17:56:41 -0500 Subject: [PATCH 4/5] Update stdlib/Libdl/docs/src/index.md Co-authored-by: Steven G. Johnson --- stdlib/Libdl/docs/src/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/Libdl/docs/src/index.md b/stdlib/Libdl/docs/src/index.md index 597c51099f623..9689494f459a0 100644 --- a/stdlib/Libdl/docs/src/index.md +++ b/stdlib/Libdl/docs/src/index.md @@ -3,7 +3,7 @@ EditURL = "https://github.com/JuliaLang/julia/blob/master/stdlib/Libdl/docs/src/ ``` The Libdl module in Julia provides specialized and lower-level facilities for dynamic linking with shared libraries. While Julia -inherently supports linking to runtime shared libraries through the `ccall intrinsic, `Libdl` extends this capability by offering additional, more +inherently supports linking to runtime shared libraries through the `ccall` intrinsic, `Libdl` extends this capability by offering additional, more granular control. It enables users to search for shared libraries both in memory and the filesystem, manually load them with specific runtime linker options, and look up library symbols as low-level pointers. From f6e0554e389cd8ca4512295e8395ac5972000e1e Mon Sep 17 00:00:00 2001 From: inky Date: Tue, 6 Feb 2024 20:51:03 -0600 Subject: [PATCH 5/5] Update stdlib/Libdl/docs/src/index.md Co-authored-by: Max Horn --- stdlib/Libdl/docs/src/index.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/stdlib/Libdl/docs/src/index.md b/stdlib/Libdl/docs/src/index.md index 9689494f459a0..2d7ef2fffc41a 100644 --- a/stdlib/Libdl/docs/src/index.md +++ b/stdlib/Libdl/docs/src/index.md @@ -2,10 +2,9 @@ EditURL = "https://github.com/JuliaLang/julia/blob/master/stdlib/Libdl/docs/src/index.md" ``` -The Libdl module in Julia provides specialized and lower-level facilities for dynamic linking with shared libraries. While Julia -inherently supports linking to runtime shared libraries through the `ccall` intrinsic, `Libdl` extends this capability by offering additional, more -granular control. It enables users to search for shared libraries both in memory and the filesystem, manually load them with specific runtime linker options, and look up -library symbols as low-level pointers. +```@docs +Libdl +``` # Dynamic Linker