This repository was archived by the owner on Aug 18, 2025. It is now read-only.
v0.5.1
[v0.5.1] - 2025-07-28
🔧 Cross-Platform Compatibility Fixes
Fixes
- macOS dynamic library support: Fixed dynamic library loading issues on macOS
- Platform-specific extensions: Proper support for Windows (.dll), macOS (.dylib), Linux (.so)
- Smart library lookup: Added cross-platform compatible library file finding logic
- Backward compatibility: Full compatibility with existing library naming
Technical Improvements
- Added
get_library_filename()for platform-specific filenames - Added
get_possible_library_filenames()for multi-format lookup - Added
find_library_file()implementing smart file finding - Improved error messages with detailed search paths and supported formats
Backward Compatibility
- ✅ Fully backward compatible
- ✅ Existing library files don't need renaming
- ✅ Same usage syntax:
using lib <io>;
[v0.5.1] - 2025-07-28
🔧 跨平台兼容性修复
修复内容
- macOS 动态库支持:修复了 macOS 平台动态库载入问题
- 平台特定扩展名:正确支持 Windows (.dll)、macOS (.dylib)、Linux (.so)
- 智能库查找:新增跨平台兼容的库文件查找逻辑
- 向后兼容性:完全兼容现有库文件命名
技术改进
- 新增
get_library_filename()获取平台特定文件名 - 新增
get_possible_library_filenames()支持多格式查找 - 新增
find_library_file()实现智能文件查找 - 改进错误信息,提供详细查找路径和支持格式
向后兼容性
- ✅ 完全向后兼容
- ✅ 现有库文件无需重命名
- ✅ 语法保持不变:
using lib <io>;
Full Changelog: CodeNothingCommunity/CodeNothing@v0.5.0...v0.5.1