summaryrefslogtreecommitdiff
path: root/rust/examples
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2024-09-19 12:45:07 -0400
committerBrian Potchik <brian@vector35.com>2024-09-19 12:45:07 -0400
commit43d5fb9103cde2941948f3e7dfb1b38bb67fac23 (patch)
tree0de7716c72495071d09a277cff0329dffc4c8506 /rust/examples
parentafb41a37f9f6fa9e3c2d8df35fa9c9ae215299ee (diff)
Add additional testing and handling for object settings.
Diffstat (limited to 'rust/examples')
-rw-r--r--rust/examples/dwarf/dwarf_import/src/lib.rs6
-rw-r--r--rust/examples/pdb-ng/src/lib.rs1
2 files changed, 3 insertions, 4 deletions
diff --git a/rust/examples/dwarf/dwarf_import/src/lib.rs b/rust/examples/dwarf/dwarf_import/src/lib.rs
index 74f2065e..114084a1 100644
--- a/rust/examples/dwarf/dwarf_import/src/lib.rs
+++ b/rust/examples/dwarf/dwarf_import/src/lib.rs
@@ -551,8 +551,8 @@ pub extern "C" fn CorePluginInit() -> bool {
r#"{
"title" : "Debuginfod Server URLs",
"type" : "array",
- "elementType" : "string",
- "default" : [],
+ "sorted" : true,
+ "default" : [],
"description" : "Servers to use for fetching DWARF debug info for files with a .note.gnu.build-id section.",
"ignore" : []
}"#,
@@ -574,7 +574,7 @@ pub extern "C" fn CorePluginInit() -> bool {
r#"{
"title" : "Debug File Directories",
"type" : "array",
- "elementType" : "string",
+ "sorted" : true,
"default" : [],
"description" : "Paths to folder containing DWARF debug info stored by build id.",
"ignore" : []
diff --git a/rust/examples/pdb-ng/src/lib.rs b/rust/examples/pdb-ng/src/lib.rs
index e2e3ec44..cd457d06 100644
--- a/rust/examples/pdb-ng/src/lib.rs
+++ b/rust/examples/pdb-ng/src/lib.rs
@@ -755,7 +755,6 @@ fn init_plugin() -> bool {
r#"{
"title" : "Symbol Server List",
"type" : "array",
- "elementType" : "string",
"sorted" : false,
"default" : ["https://msdl.microsoft.com/download/symbols"],
"aliases" : ["pdb.symbol-server-list", "pdb.symbolServerList"],