Skip to content
GitLab
Explorer
Connexion
Navigation principale
Rechercher ou aller à…
Projet
Vivy
Gestion
Activité
Membres
Labels
Programmation
Tickets
Tableaux des tickets
Jalons
Wiki
Wiki externe
Code
Requêtes de fusion
Dépôt
Branches
Validations
Étiquettes
Graphe du dépôt
Comparer les révisions
Compilation
Pipelines
Jobs
Planifications de pipeline
Artéfacts
Aide
Aide
Support
Documentation de GitLab
Comparer les forfaits GitLab
Forum de la communauté
Contribuer à GitLab
Donner votre avis
Raccourcis clavier
?
Extraits de code
Groupes
Projets
Afficher davantage de fils d'Ariane
Elliu
Vivy
Validations
5e75f110
Valider
5e75f110
rédigé
Il y a 5 mois
par
Kubat
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
RUST: Update & continue to fix some little warnings
parent
1f228c92
Aucune branche associée trouvée
Branches contenant la validation
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Pipeline
#14982
en échec
Il y a 5 mois
Étape : build
Modifications
2
Pipelines
1
Masquer les modifications d'espaces
En ligne
Côte à côte
Affichage de
2 fichiers modifiés
src/Rust/Cargo.lock
+28
-28
28 ajouts, 28 suppressions
src/Rust/Cargo.lock
src/Rust/vvs_llvm/src/bindings/function.rs
+4
-4
4 ajouts, 4 suppressions
src/Rust/vvs_llvm/src/bindings/function.rs
avec
32 ajouts
et
32 suppressions
src/Rust/Cargo.lock
+
28
−
28
Voir le fichier @
5e75f110
...
@@ -126,9 +126,9 @@ dependencies = [
...
@@ -126,9 +126,9 @@ dependencies = [
[[package]]
[[package]]
name = "bstr"
name = "bstr"
version = "1.11.
0
"
version = "1.11.
1
"
source = "registry+https://github.com/rust-lang/crates.io-index"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "
1a68f1f47cdf0ec8ee4b941b2eee2a80cb796db73118c0dd09ac63fbe405be22
"
checksum = "
786a307d683a5bf92e6fd5fd69a7eb613751668d1d8d67d802846dfe367c62c8
"
dependencies = [
dependencies = [
"memchr",
"memchr",
"serde",
"serde",
...
@@ -194,9 +194,9 @@ dependencies = [
...
@@ -194,9 +194,9 @@ dependencies = [
[[package]]
[[package]]
name = "cc"
name = "cc"
version = "1.2.
3
"
version = "1.2.
4
"
source = "registry+https://github.com/rust-lang/crates.io-index"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "
27f657647bcff5394bf56c7317665bbf790a137a50eaaa5c6bfbb9e27a518f2d
"
checksum = "
9157bbaa6b165880c27a4293a474c91cdcf265cc68cc829bf10be0964a391caf
"
dependencies = [
dependencies = [
"shlex",
"shlex",
]
]
...
@@ -265,9 +265,9 @@ dependencies = [
...
@@ -265,9 +265,9 @@ dependencies = [
[[package]]
[[package]]
name = "clap_complete"
name = "clap_complete"
version = "4.5.
38
"
version = "4.5.
40
"
source = "registry+https://github.com/rust-lang/crates.io-index"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "
d9647a559c112175f17cf724dc72d3645680a883c58481332779192b0d8e7a01
"
checksum = "
ac2e663e3e3bed2d32d065a8404024dad306e699a04263ec59919529f803aee9
"
dependencies = [
dependencies = [
"clap",
"clap",
]
]
...
@@ -341,14 +341,14 @@ dependencies = [
...
@@ -341,14 +341,14 @@ dependencies = [
[[package]]
[[package]]
name = "console"
name = "console"
version = "0.15.
8
"
version = "0.15.
10
"
source = "registry+https://github.com/rust-lang/crates.io-index"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "
0e1f83fc076bd6dd27517eacdf25fef6c4dfe5f1d7448bafaaf3a26f13b5e4e
b"
checksum = "
ea3c6ecd8059b57859df5c69830340ed3c41d30e3da0c1cbed90a96ac853041
b"
dependencies = [
dependencies = [
"encode_unicode",
"encode_unicode",
"lazy_static",
"libc",
"libc",
"windows-sys 0.52.0",
"once_cell",
"windows-sys 0.59.0",
]
]
[[package]]
[[package]]
...
@@ -398,9 +398,9 @@ dependencies = [
...
@@ -398,9 +398,9 @@ dependencies = [
[[package]]
[[package]]
name = "crossbeam-deque"
name = "crossbeam-deque"
version = "0.8.
5
"
version = "0.8.
6
"
source = "registry+https://github.com/rust-lang/crates.io-index"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "
613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d
"
checksum = "
9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51
"
dependencies = [
dependencies = [
"crossbeam-epoch",
"crossbeam-epoch",
"crossbeam-utils",
"crossbeam-utils",
...
@@ -417,9 +417,9 @@ dependencies = [
...
@@ -417,9 +417,9 @@ dependencies = [
[[package]]
[[package]]
name = "crossbeam-utils"
name = "crossbeam-utils"
version = "0.8.2
0
"
version = "0.8.2
1
"
source = "registry+https://github.com/rust-lang/crates.io-index"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "
22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80
"
checksum = "
d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28
"
[[package]]
[[package]]
name = "crossterm"
name = "crossterm"
...
@@ -523,9 +523,9 @@ checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
...
@@ -523,9 +523,9 @@ checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
[[package]]
[[package]]
name = "encode_unicode"
name = "encode_unicode"
version = "
0.3.6
"
version = "
1.0.0
"
source = "registry+https://github.com/rust-lang/crates.io-index"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "
a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f
"
checksum = "
34aa73646ffb006b8f5147f3dc182bd4bcb190227ce861fc4a4844bf8e3cb2c0
"
[[package]]
[[package]]
name = "equivalent"
name = "equivalent"
...
@@ -1042,9 +1042,9 @@ dependencies = [
...
@@ -1042,9 +1042,9 @@ dependencies = [
[[package]]
[[package]]
name = "redox_syscall"
name = "redox_syscall"
version = "0.5.
7
"
version = "0.5.
8
"
source = "registry+https://github.com/rust-lang/crates.io-index"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "
9b6dfecf2c74bce2466cabf93f6664d6998a69eb21e39f4207930065b27b771f
"
checksum = "
03a862b389f93e68874fbf580b9de08dd02facb9a788ebadaf4a3fd33cf58834
"
dependencies = [
dependencies = [
"bitflags",
"bitflags",
]
]
...
@@ -1132,24 +1132,24 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
...
@@ -1132,24 +1132,24 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
[[package]]
[[package]]
name = "semver"
name = "semver"
version = "1.0.2
3
"
version = "1.0.2
4
"
source = "registry+https://github.com/rust-lang/crates.io-index"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "
61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b
"
checksum = "
3cb6eb87a131f756572d7fb904f6e7b68633f09cca868c5df1c4b8d1a694bbba
"
[[package]]
[[package]]
name = "serde"
name = "serde"
version = "1.0.21
5
"
version = "1.0.21
6
"
source = "registry+https://github.com/rust-lang/crates.io-index"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "
6513c1ad0b11a9376da888e3e0baa0077f1aed55c17f50e7b2397136129fb88f
"
checksum = "
0b9781016e935a97e8beecf0c933758c97a5520d32930e460142b4cd80c6338e
"
dependencies = [
dependencies = [
"serde_derive",
"serde_derive",
]
]
[[package]]
[[package]]
name = "serde_derive"
name = "serde_derive"
version = "1.0.21
5
"
version = "1.0.21
6
"
source = "registry+https://github.com/rust-lang/crates.io-index"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "
ad1e866f866923f252f05c889987993144fb74e722403468a4ebd70c3cd756c0
"
checksum = "
46f859dbbf73865c6627ed570e78961cd3ac92407a2d117204c49232485da55e
"
dependencies = [
dependencies = [
"proc-macro2",
"proc-macro2",
"quote",
"quote",
...
@@ -1332,18 +1332,18 @@ dependencies = [
...
@@ -1332,18 +1332,18 @@ dependencies = [
[[package]]
[[package]]
name = "thiserror"
name = "thiserror"
version = "2.0.
6
"
version = "2.0.
8
"
source = "registry+https://github.com/rust-lang/crates.io-index"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8f
ec2a1820ebd077e2b90c4df007bebf344cd394098a13c563957d0afc83ea47
"
checksum = "
0
8f
5383f3e0071702bf93ab5ee99b52d26936be9dedd9413067cbdcddcb6141a
"
dependencies = [
dependencies = [
"thiserror-impl",
"thiserror-impl",
]
]
[[package]]
[[package]]
name = "thiserror-impl"
name = "thiserror-impl"
version = "2.0.
6
"
version = "2.0.
8
"
source = "registry+https://github.com/rust-lang/crates.io-index"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "
d65750cab40f4ff1929fb1ba509e9914eb756131cef4210da8d5d700d26f6312
"
checksum = "
f2f357fcec90b3caef6623a099691be676d033b40a058ac95d2a6ade6fa0c943
"
dependencies = [
dependencies = [
"proc-macro2",
"proc-macro2",
"quote",
"quote",
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
src/Rust/vvs_llvm/src/bindings/function.rs
+
4
−
4
Voir le fichier @
5e75f110
...
@@ -70,12 +70,12 @@ impl<'a> Function<'a> {
...
@@ -70,12 +70,12 @@ impl<'a> Function<'a> {
}
}
/// Get the entry point of the function in a mutable way.
/// Get the entry point of the function in a mutable way.
pub
fn
entry_point_mut
(
&
'a
mut
self
)
->
&
'a
mut
BB
{
pub
fn
entry_point_mut
(
&
'a
mut
self
)
->
&
'a
mut
BB
<
'a
>
{
&
mut
self
.entry_point
&
mut
self
.entry_point
}
}
/// Add a new basic block to the function and returns it.
/// Add a new basic block to the function and returns it.
pub
fn
new_basic_block
(
&
'a
mut
self
)
->
BB
{
pub
fn
new_basic_block
(
&
'a
mut
self
)
->
BB
<
'a
>
{
self
.basic_block_count
+=
1
;
self
.basic_block_count
+=
1
;
unsafe
{
unsafe
{
BB
::
from_ptr
(
LLVMAppendBasicBlockInContext
(
BB
::
from_ptr
(
LLVMAppendBasicBlockInContext
(
...
@@ -87,7 +87,7 @@ impl<'a> Function<'a> {
...
@@ -87,7 +87,7 @@ impl<'a> Function<'a> {
}
}
/// Iterate over all the basic blocks of the function.
/// Iterate over all the basic blocks of the function.
pub
fn
iter
(
&
'a
self
)
->
FunctionIter
<
'a
,
&
'a
Function
>
{
pub
fn
iter
(
&
'a
self
)
->
FunctionIter
<
'a
,
&
'a
Function
<
'a
>
>
{
unsafe
{
unsafe
{
match
LLVMCountBasicBlocks
(
self
.as_ptr
())
{
match
LLVMCountBasicBlocks
(
self
.as_ptr
())
{
0
=>
FunctionIter
{
curr
:
None
,
last
:
None
,
func
:
self
},
0
=>
FunctionIter
{
curr
:
None
,
last
:
None
,
func
:
self
},
...
@@ -101,7 +101,7 @@ impl<'a> Function<'a> {
...
@@ -101,7 +101,7 @@ impl<'a> Function<'a> {
}
}
/// Iterate over all the basic blocks of the function in a mutable way.
/// Iterate over all the basic blocks of the function in a mutable way.
pub
fn
iter_mut
(
&
'a
mut
self
)
->
FunctionIterMut
<
'a
,
&
'a
mut
Function
>
{
pub
fn
iter_mut
(
&
'a
mut
self
)
->
FunctionIterMut
<
'a
,
&
'a
mut
Function
<
'a
>
>
{
unsafe
{
unsafe
{
match
LLVMCountBasicBlocks
(
self
.as_ptr
())
{
match
LLVMCountBasicBlocks
(
self
.as_ptr
())
{
0
=>
FunctionIterMut
{
curr
:
None
,
last
:
None
,
func
:
self
},
0
=>
FunctionIterMut
{
curr
:
None
,
last
:
None
,
func
:
self
},
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
Aperçu
0%
Chargement en cours
Veuillez réessayer
ou
joindre un nouveau fichier
.
Annuler
You are about to add
0
people
to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Enregistrer le commentaire
Annuler
Veuillez vous
inscrire
ou vous
se connecter
pour commenter