multi-demangle 0.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- multi_demangle-0.0.1/.github/workflows/CI.yml +183 -0
- multi_demangle-0.0.1/.gitignore +66 -0
- multi_demangle-0.0.1/Cargo.lock +512 -0
- multi_demangle-0.0.1/Cargo.toml +47 -0
- multi_demangle-0.0.1/LICENSE +21 -0
- multi_demangle-0.0.1/PKG-INFO +48 -0
- multi_demangle-0.0.1/README.md +33 -0
- multi_demangle-0.0.1/build.rs +34 -0
- multi_demangle-0.0.1/pyproject.toml +19 -0
- multi_demangle-0.0.1/src/lib.rs +589 -0
- multi_demangle-0.0.1/src/swiftdemangle.cpp +36 -0
- multi_demangle-0.0.1/vendor/swift/LICENSE.txt +211 -0
- multi_demangle-0.0.1/vendor/swift/LICENSE_LLVM.txt +68 -0
- multi_demangle-0.0.1/vendor/swift/include/llvm/ADT/ADL.h +135 -0
- multi_demangle-0.0.1/vendor/swift/include/llvm/ADT/DenseMapInfo.h +348 -0
- multi_demangle-0.0.1/vendor/swift/include/llvm/ADT/Hashing.h +705 -0
- multi_demangle-0.0.1/vendor/swift/include/llvm/ADT/None.h +31 -0
- multi_demangle-0.0.1/vendor/swift/include/llvm/ADT/Optional.h +28 -0
- multi_demangle-0.0.1/vendor/swift/include/llvm/ADT/STLExtras.h +2688 -0
- multi_demangle-0.0.1/vendor/swift/include/llvm/ADT/STLForwardCompat.h +90 -0
- multi_demangle-0.0.1/vendor/swift/include/llvm/ADT/STLFunctionalExtras.h +81 -0
- multi_demangle-0.0.1/vendor/swift/include/llvm/ADT/SmallVector.h +1363 -0
- multi_demangle-0.0.1/vendor/swift/include/llvm/ADT/StringRef.h +948 -0
- multi_demangle-0.0.1/vendor/swift/include/llvm/ADT/StringSwitch.h +224 -0
- multi_demangle-0.0.1/vendor/swift/include/llvm/ADT/bit.h +365 -0
- multi_demangle-0.0.1/vendor/swift/include/llvm/ADT/iterator.h +378 -0
- multi_demangle-0.0.1/vendor/swift/include/llvm/ADT/iterator_range.h +87 -0
- multi_demangle-0.0.1/vendor/swift/include/llvm/Config/abi-breaking.h +62 -0
- multi_demangle-0.0.1/vendor/swift/include/llvm/Config/llvm-config.h +100 -0
- multi_demangle-0.0.1/vendor/swift/include/llvm/Support/Casting.h +852 -0
- multi_demangle-0.0.1/vendor/swift/include/llvm/Support/Compiler.h +733 -0
- multi_demangle-0.0.1/vendor/swift/include/llvm/Support/DataTypes.h +21 -0
- multi_demangle-0.0.1/vendor/swift/include/llvm/Support/ErrorHandling.h +178 -0
- multi_demangle-0.0.1/vendor/swift/include/llvm/Support/MemAlloc.h +87 -0
- multi_demangle-0.0.1/vendor/swift/include/llvm/Support/SwapByteOrder.h +68 -0
- multi_demangle-0.0.1/vendor/swift/include/llvm/Support/raw_ostream.h +856 -0
- multi_demangle-0.0.1/vendor/swift/include/llvm/Support/type_traits.h +97 -0
- multi_demangle-0.0.1/vendor/swift/include/llvm-c/DataTypes.h +80 -0
- multi_demangle-0.0.1/vendor/swift/include/swift/ABI/InvertibleProtocols.def +31 -0
- multi_demangle-0.0.1/vendor/swift/include/swift/ABI/InvertibleProtocols.h +239 -0
- multi_demangle-0.0.1/vendor/swift/include/swift/AST/Ownership.h +168 -0
- multi_demangle-0.0.1/vendor/swift/include/swift/AST/ReferenceStorage.def +202 -0
- multi_demangle-0.0.1/vendor/swift/include/swift/Basic/Compiler.h +200 -0
- multi_demangle-0.0.1/vendor/swift/include/swift/Basic/InlineBitfield.h +189 -0
- multi_demangle-0.0.1/vendor/swift/include/swift/Basic/LLVM.h +114 -0
- multi_demangle-0.0.1/vendor/swift/include/swift/Basic/MacroRoles.def +90 -0
- multi_demangle-0.0.1/vendor/swift/include/swift/Basic/STLExtras.h +798 -0
- multi_demangle-0.0.1/vendor/swift/include/swift/Demangling/Demangle.h +1012 -0
- multi_demangle-0.0.1/vendor/swift/include/swift/Demangling/DemangleNodes.def +422 -0
- multi_demangle-0.0.1/vendor/swift/include/swift/Demangling/Demangler.h +704 -0
- multi_demangle-0.0.1/vendor/swift/include/swift/Demangling/Errors.h +70 -0
- multi_demangle-0.0.1/vendor/swift/include/swift/Demangling/ManglingFlavor.h +36 -0
- multi_demangle-0.0.1/vendor/swift/include/swift/Demangling/ManglingMacros.h +98 -0
- multi_demangle-0.0.1/vendor/swift/include/swift/Demangling/ManglingUtils.h +343 -0
- multi_demangle-0.0.1/vendor/swift/include/swift/Demangling/NamespaceMacros.h +35 -0
- multi_demangle-0.0.1/vendor/swift/include/swift/Demangling/Punycode.h +68 -0
- multi_demangle-0.0.1/vendor/swift/include/swift/Demangling/StandardTypesMangling.def +104 -0
- multi_demangle-0.0.1/vendor/swift/include/swift/Demangling/TypeDecoder.h +2007 -0
- multi_demangle-0.0.1/vendor/swift/include/swift/Demangling/TypeLookupError.h +226 -0
- multi_demangle-0.0.1/vendor/swift/include/swift/Demangling/ValueWitnessMangling.def +41 -0
- multi_demangle-0.0.1/vendor/swift/include/swift/Runtime/CMakeConfig.h +13 -0
- multi_demangle-0.0.1/vendor/swift/include/swift/Runtime/Config.h +587 -0
- multi_demangle-0.0.1/vendor/swift/include/swift/Strings.h +191 -0
- multi_demangle-0.0.1/vendor/swift/lib/Demangling/CMakeLists.txt +34 -0
- multi_demangle-0.0.1/vendor/swift/lib/Demangling/Context.cpp +301 -0
- multi_demangle-0.0.1/vendor/swift/lib/Demangling/CrashReporter.cpp +35 -0
- multi_demangle-0.0.1/vendor/swift/lib/Demangling/CrashReporter.h +50 -0
- multi_demangle-0.0.1/vendor/swift/lib/Demangling/Demangler.cpp +4565 -0
- multi_demangle-0.0.1/vendor/swift/lib/Demangling/DemanglerAssert.h +68 -0
- multi_demangle-0.0.1/vendor/swift/lib/Demangling/Errors.cpp +227 -0
- multi_demangle-0.0.1/vendor/swift/lib/Demangling/ManglingUtils.cpp +93 -0
- multi_demangle-0.0.1/vendor/swift/lib/Demangling/NodeDumper.cpp +78 -0
- multi_demangle-0.0.1/vendor/swift/lib/Demangling/NodePrinter.cpp +3794 -0
- multi_demangle-0.0.1/vendor/swift/lib/Demangling/OldDemangler.cpp +2408 -0
- multi_demangle-0.0.1/vendor/swift/lib/Demangling/OldRemangler.cpp +3154 -0
- multi_demangle-0.0.1/vendor/swift/lib/Demangling/Punycode.cpp +369 -0
- multi_demangle-0.0.1/vendor/swift/lib/Demangling/Remangler.cpp +4327 -0
- multi_demangle-0.0.1/vendor/swift/lib/Demangling/RemanglerBase.h +197 -0
- multi_demangle-0.0.1/vendor/swift/stdlib/public/SwiftShims/Visibility.h +303 -0
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
# This file is autogenerated by maturin v1.10.1
|
|
2
|
+
# To update, run
|
|
3
|
+
#
|
|
4
|
+
# maturin generate-ci github
|
|
5
|
+
#
|
|
6
|
+
name: CI
|
|
7
|
+
|
|
8
|
+
on:
|
|
9
|
+
push:
|
|
10
|
+
branches:
|
|
11
|
+
- main
|
|
12
|
+
- master
|
|
13
|
+
tags:
|
|
14
|
+
- '*'
|
|
15
|
+
pull_request:
|
|
16
|
+
workflow_dispatch:
|
|
17
|
+
|
|
18
|
+
permissions:
|
|
19
|
+
contents: read
|
|
20
|
+
jobs:
|
|
21
|
+
test:
|
|
22
|
+
name: Test
|
|
23
|
+
runs-on: ${{ matrix.os }}
|
|
24
|
+
strategy:
|
|
25
|
+
matrix:
|
|
26
|
+
os: [ubuntu-latest, ubuntu-24.04-arm, windows-latest, macos-latest]
|
|
27
|
+
steps:
|
|
28
|
+
- uses: actions/checkout@v4
|
|
29
|
+
- name: Run cargo test
|
|
30
|
+
run: cargo test
|
|
31
|
+
linux:
|
|
32
|
+
runs-on: ${{ matrix.platform.runner }}
|
|
33
|
+
strategy:
|
|
34
|
+
fail-fast: false
|
|
35
|
+
matrix:
|
|
36
|
+
platform:
|
|
37
|
+
- runner: ubuntu-24.04
|
|
38
|
+
target: x86_64
|
|
39
|
+
- runner: ubuntu-24.04
|
|
40
|
+
target: x86
|
|
41
|
+
- runner: ubuntu-24.04-arm
|
|
42
|
+
target: aarch64
|
|
43
|
+
steps:
|
|
44
|
+
- uses: actions/checkout@v4
|
|
45
|
+
- uses: actions/setup-python@v5
|
|
46
|
+
with:
|
|
47
|
+
python-version: 3.x
|
|
48
|
+
- name: Install modern C++ cross-compiler for ARM
|
|
49
|
+
if: contains(matrix.platform.target, 'arm') || contains(matrix.platform.target, 'aarch64')
|
|
50
|
+
run: |
|
|
51
|
+
sudo apt-get update -y
|
|
52
|
+
sudo apt-get install -y g++-arm-linux-gnueabihf g++-aarch64-linux-gnu
|
|
53
|
+
- name: Build wheels
|
|
54
|
+
uses: PyO3/maturin-action@v1
|
|
55
|
+
with:
|
|
56
|
+
target: ${{ matrix.platform.target }}
|
|
57
|
+
args: --all-features --release --out dist --find-interpreter
|
|
58
|
+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
59
|
+
manylinux: auto
|
|
60
|
+
- name: Upload wheels
|
|
61
|
+
uses: actions/upload-artifact@v4
|
|
62
|
+
with:
|
|
63
|
+
name: wheels-linux-${{ matrix.platform.target }}
|
|
64
|
+
path: dist
|
|
65
|
+
|
|
66
|
+
musllinux:
|
|
67
|
+
runs-on: ${{ matrix.platform.runner }}
|
|
68
|
+
strategy:
|
|
69
|
+
matrix:
|
|
70
|
+
platform:
|
|
71
|
+
- runner: ubuntu-24.04
|
|
72
|
+
target: x86_64
|
|
73
|
+
- runner: ubuntu-24.04
|
|
74
|
+
target: x86
|
|
75
|
+
- runner: ubuntu-24.04-arm
|
|
76
|
+
target: aarch64
|
|
77
|
+
steps:
|
|
78
|
+
- uses: actions/checkout@v4
|
|
79
|
+
- uses: actions/setup-python@v5
|
|
80
|
+
with:
|
|
81
|
+
python-version: 3.x
|
|
82
|
+
- name: Build wheels
|
|
83
|
+
uses: PyO3/maturin-action@v1
|
|
84
|
+
with:
|
|
85
|
+
target: ${{ matrix.platform.target }}
|
|
86
|
+
args: --all-features --release --out dist --find-interpreter
|
|
87
|
+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
88
|
+
manylinux: musllinux_1_2
|
|
89
|
+
- name: Upload wheels
|
|
90
|
+
uses: actions/upload-artifact@v4
|
|
91
|
+
with:
|
|
92
|
+
name: wheels-musllinux-${{ matrix.platform.target }}
|
|
93
|
+
path: dist
|
|
94
|
+
|
|
95
|
+
windows:
|
|
96
|
+
runs-on: ${{ matrix.platform.runner }}
|
|
97
|
+
strategy:
|
|
98
|
+
matrix:
|
|
99
|
+
platform:
|
|
100
|
+
- runner: windows-latest
|
|
101
|
+
target: x64
|
|
102
|
+
- runner: windows-latest
|
|
103
|
+
target: x86
|
|
104
|
+
steps:
|
|
105
|
+
- uses: actions/checkout@v4
|
|
106
|
+
- uses: actions/setup-python@v5
|
|
107
|
+
with:
|
|
108
|
+
python-version: 3.x
|
|
109
|
+
architecture: ${{ matrix.platform.target }}
|
|
110
|
+
- name: Build wheels
|
|
111
|
+
uses: PyO3/maturin-action@v1
|
|
112
|
+
with:
|
|
113
|
+
target: ${{ matrix.platform.target }}
|
|
114
|
+
args: --all-features --release --out dist --find-interpreter
|
|
115
|
+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
116
|
+
- name: Upload wheels
|
|
117
|
+
uses: actions/upload-artifact@v4
|
|
118
|
+
with:
|
|
119
|
+
name: wheels-windows-${{ matrix.platform.target }}
|
|
120
|
+
path: dist
|
|
121
|
+
|
|
122
|
+
macos:
|
|
123
|
+
runs-on: ${{ matrix.platform.runner }}
|
|
124
|
+
strategy:
|
|
125
|
+
matrix:
|
|
126
|
+
platform:
|
|
127
|
+
- runner: macos-13
|
|
128
|
+
target: x86_64
|
|
129
|
+
- runner: macos-14
|
|
130
|
+
target: aarch64
|
|
131
|
+
steps:
|
|
132
|
+
- uses: actions/checkout@v4
|
|
133
|
+
- uses: actions/setup-python@v5
|
|
134
|
+
with:
|
|
135
|
+
python-version: 3.x
|
|
136
|
+
- name: Build wheels
|
|
137
|
+
uses: PyO3/maturin-action@v1
|
|
138
|
+
with:
|
|
139
|
+
target: ${{ matrix.platform.target }}
|
|
140
|
+
args: --all-features --release --out dist --find-interpreter
|
|
141
|
+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
142
|
+
- name: Upload wheels
|
|
143
|
+
uses: actions/upload-artifact@v4
|
|
144
|
+
with:
|
|
145
|
+
name: wheels-macos-${{ matrix.platform.target }}
|
|
146
|
+
path: dist
|
|
147
|
+
|
|
148
|
+
sdist:
|
|
149
|
+
runs-on: ubuntu-latest
|
|
150
|
+
steps:
|
|
151
|
+
- uses: actions/checkout@v4
|
|
152
|
+
- name: Build sdist
|
|
153
|
+
uses: PyO3/maturin-action@v1
|
|
154
|
+
with:
|
|
155
|
+
command: sdist
|
|
156
|
+
args: --out dist
|
|
157
|
+
- name: Upload sdist
|
|
158
|
+
uses: actions/upload-artifact@v4
|
|
159
|
+
with:
|
|
160
|
+
name: wheels-sdist
|
|
161
|
+
path: dist
|
|
162
|
+
|
|
163
|
+
release:
|
|
164
|
+
name: Release
|
|
165
|
+
runs-on: ubuntu-latest
|
|
166
|
+
if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
|
|
167
|
+
needs: [linux, musllinux, windows, macos, sdist]
|
|
168
|
+
permissions:
|
|
169
|
+
id-token: write
|
|
170
|
+
contents: write
|
|
171
|
+
attestations: write
|
|
172
|
+
steps:
|
|
173
|
+
- uses: actions/download-artifact@v4
|
|
174
|
+
- name: Generate artifact attestation
|
|
175
|
+
uses: actions/attest-build-provenance@v2
|
|
176
|
+
with:
|
|
177
|
+
subject-path: 'wheels-*/*'
|
|
178
|
+
- name: Publish to PyPI
|
|
179
|
+
if: ${{ startsWith(github.ref, 'refs/tags/') }}
|
|
180
|
+
uses: PyO3/maturin-action@v1
|
|
181
|
+
with:
|
|
182
|
+
command: upload
|
|
183
|
+
args: --non-interactive --skip-existing wheels-*/*
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/target
|
|
2
|
+
|
|
3
|
+
# Byte-compiled / optimized / DLL files
|
|
4
|
+
__pycache__/
|
|
5
|
+
.pytest_cache/
|
|
6
|
+
*.py[cod]
|
|
7
|
+
|
|
8
|
+
# C extensions
|
|
9
|
+
*.so
|
|
10
|
+
|
|
11
|
+
# Distribution / packaging
|
|
12
|
+
.Python
|
|
13
|
+
.venv/
|
|
14
|
+
env/
|
|
15
|
+
build/
|
|
16
|
+
develop-eggs/
|
|
17
|
+
dist/
|
|
18
|
+
eggs/
|
|
19
|
+
parts/
|
|
20
|
+
sdist/
|
|
21
|
+
venv/
|
|
22
|
+
*.egg-info/
|
|
23
|
+
.installed.cfg
|
|
24
|
+
*.egg
|
|
25
|
+
|
|
26
|
+
# Installer logs
|
|
27
|
+
pip-log.txt
|
|
28
|
+
pip-delete-this-directory.txt
|
|
29
|
+
pip-selfcheck.json
|
|
30
|
+
|
|
31
|
+
# Unit test / coverage reports
|
|
32
|
+
htmlcov/
|
|
33
|
+
.tox/
|
|
34
|
+
.coverage
|
|
35
|
+
.cache
|
|
36
|
+
nosetests.xml
|
|
37
|
+
coverage.xml
|
|
38
|
+
|
|
39
|
+
# Translations
|
|
40
|
+
*.mo
|
|
41
|
+
|
|
42
|
+
# Mr Developer
|
|
43
|
+
.mr.developer.cfg
|
|
44
|
+
.project
|
|
45
|
+
.pydevproject
|
|
46
|
+
|
|
47
|
+
# Rope
|
|
48
|
+
.ropeproject
|
|
49
|
+
|
|
50
|
+
# Django stuff:
|
|
51
|
+
*.log
|
|
52
|
+
*.pot
|
|
53
|
+
|
|
54
|
+
.DS_Store
|
|
55
|
+
|
|
56
|
+
# Sphinx documentation
|
|
57
|
+
docs/_build/
|
|
58
|
+
|
|
59
|
+
# PyCharm
|
|
60
|
+
.idea/
|
|
61
|
+
|
|
62
|
+
# VSCode
|
|
63
|
+
.vscode/
|
|
64
|
+
|
|
65
|
+
# Pyenv
|
|
66
|
+
.python-version
|