Comments (9)
What do you mean by that?
Almost everything is statically compiled in, Rust doesn't support dynamic linking:
ldd .weechat/plugins/matrix.so
ldd: warning: you do not have execution permission for `.weechat/plugins/matrix.so'
linux-vdso.so.1 (0x00007ffe88989000)
libssl.so.1.1 => /usr/lib/libssl.so.1.1 (0x00007f3501338000)
libcrypto.so.1.1 => /usr/lib/libcrypto.so.1.1 (0x00007f350105a000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f3500e44000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f3500e29000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f3500e08000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007f3500cc4000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f3500cbb000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f3500aef000)
/usr/lib64/ld-linux-x86-64.so.2 (0x00007f3502560000)
from weechat-matrix-rs.
I mean statically linked.
...
from weechat-matrix-rs.
I know what static linking means, I don't know what you would like to change in the context of dynamic Weechat plugins, so that a plugin would be considered to be statically linked. As I pointed out, almost all the libraries that the plugin uses are statically linked.
You'll need to provide more than a 4 word sentence for me to understand what you had in mind.
from weechat-matrix-rs.
As you can see the result is only dynamically linked.
file libmatrix.so
libmatrix.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=78d10f2d7dcaa267cb22eac53713fa171c42adbd, with debug_info, not stripped
from weechat-matrix-rs.
This his how Weechat and other dynamic plugin systems in the C world work, while it's technically possible to produce a .a
static lib of this project, Weechat can't load such files.
from weechat-matrix-rs.
from weechat-matrix-rs.
Explain how what works?
from weechat-matrix-rs.
from weechat-matrix-rs.
Rust Reference book has quite good description about what I think you want to know
https://doc.rust-lang.org/reference/linkage.html
from weechat-matrix-rs.
Related Issues (20)
- History of chat is not fetched HOT 2
- Highlights don't work
- add a type localvar to matrix buffers HOT 2
- Panic on startup HOT 8
- matrix-qrcode-0.2.0/src/lib.rs, error[E0658]: arbitrary expressions in key-value attributes are unstable HOT 7
- Steps to start using this after moving the file matrix.dylib to ~/.weechat/plugins/ HOT 2
- Error: API mismatch for plugin HOT 9
- Using matrix-rs generate a lot of disk-I/O HOT 1
- Missing dependency HOT 2
- Matrix user ids can include emoji HOT 1
- How to get this running? HOT 1
- Failed to log in: invalid state HOT 2
- Panic in the main Weechat thread
- No more message received after a deserialization error
- [placeholder/draft] compiling on & for Slitaz Linux HOT 1
- api mismatch error HOT 1
- Verification
- error: Invalid value for '<homeserver>': relative URL without a base HOT 1
- Can't build on RPi - Debian 12
- Reviving the project HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from weechat-matrix-rs.